ml4gw 0.6.2__py3-none-any.whl → 0.6.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ml4gw might be problematic. Click here for more details.

@@ -382,7 +382,9 @@ class IMRPhenomPv2(IMRPhenomD):
382
382
  # reshape x to have same shape as diffRDphase
383
383
  x = x[1:-1].unsqueeze(0).expand(diffRDphase.shape)
384
384
  # interpolate at x = 1, as thats the same as f = fRD
385
- diffRDphase = -self.interpolate(torch.tensor([1]), x, diffRDphase)
385
+ diffRDphase = -self.interpolate(
386
+ torch.tensor([1], device=x.device), x, diffRDphase
387
+ )
386
388
  return hPhenom, diffRDphase
387
389
 
388
390
  # Utility functions
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ml4gw
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: Tools for training torch models on gravitational wave data
5
5
  Author: Alec Gunny
6
6
  Author-email: alec.gunny@ligo.org
7
- Requires-Python: >=3.8,<3.13
7
+ Requires-Python: >=3.9,<3.13
8
8
  Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.8
10
9
  Classifier: Programming Language :: Python :: 3.9
11
10
  Classifier: Programming Language :: Python :: 3.10
12
11
  Classifier: Programming Language :: Python :: 3.11
@@ -42,10 +42,10 @@ ml4gw/waveforms/adhoc/sine_gaussian.py,sha256=-MtrI7ydwBTk4K0O4tdkC8-w5OifQszdnW
42
42
  ml4gw/waveforms/cbc/__init__.py,sha256=hGbPsFNAIveYJnff8qKY8RWeBPFtZoYcnGHxraPWtWI,99
43
43
  ml4gw/waveforms/cbc/phenom_d.py,sha256=0pcVAt7b1cjTbphdClPCjenv2sC8bp6oXGGlEUyW-mY,48973
44
44
  ml4gw/waveforms/cbc/phenom_d_data.py,sha256=WA1FBxUp9fo1IQaV_OLJ_5g5gI166mY1FtG9n25he9U,53447
45
- ml4gw/waveforms/cbc/phenom_p.py,sha256=nCVu6Tb-xeplch3MUrso_jiThyiNeuIFPnizBan5RfM,27563
45
+ ml4gw/waveforms/cbc/phenom_p.py,sha256=bXh1ohqzVQw-UUqc02uNoIMb9oCaT8-WlEWIrnuab-0,27602
46
46
  ml4gw/waveforms/cbc/taylorf2.py,sha256=_s-faE8yWMULMxGd4VvzPI54R3G-O2TF2G4-T2m2rDM,10510
47
47
  ml4gw/waveforms/conversion.py,sha256=zPkaGkMVqsdrF0fS3ZscyP-2jX8YK40d4smUoJb4gj4,6903
48
48
  ml4gw/waveforms/generator.py,sha256=dO6RQ96EC87p2q0tEkxA62XkkJc1xARFO1SKcGvyDhM,1272
49
- ml4gw-0.6.2.dist-info/METADATA,sha256=BhP0NjJl1RhuBauJBL3Vu9Rw2iZTIWkJyyLzLsg0D_o,5785
50
- ml4gw-0.6.2.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
51
- ml4gw-0.6.2.dist-info/RECORD,,
49
+ ml4gw-0.6.3.dist-info/METADATA,sha256=6Kpi5UqMguD4hdv_5FUhx36qc_8hoDkoT4IBo6ydwcg,5735
50
+ ml4gw-0.6.3.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
51
+ ml4gw-0.6.3.dist-info/RECORD,,
File without changes