sxs 2023.1.5__py3-none-any.whl → 2023.1.6__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.
- sxs/__version__.py +1 -1
- sxs/julia/__init__.py +22 -6
- {sxs-2023.1.5.dist-info → sxs-2023.1.6.dist-info}/METADATA +3 -2
- {sxs-2023.1.5.dist-info → sxs-2023.1.6.dist-info}/RECORD +6 -6
- {sxs-2023.1.5.dist-info → sxs-2023.1.6.dist-info}/WHEEL +1 -1
- {sxs-2023.1.5.dist-info → sxs-2023.1.6.dist-info}/licenses/LICENSE +0 -0
sxs/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2023.1.
|
|
1
|
+
__version__ = "2023.1.6"
|
sxs/julia/__init__.py
CHANGED
|
@@ -14,7 +14,11 @@ def pkg_update():
|
|
|
14
14
|
return PostNewtonian.seval("Pkg.update()")
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
def PNWaveform(
|
|
17
|
+
def PNWaveform(
|
|
18
|
+
M1, M2, chi1, chi2, Omega_i, *,
|
|
19
|
+
ell_min=2, ell_max=8, waveform_pn_order=None,
|
|
20
|
+
**orbital_evolution_kwargs
|
|
21
|
+
):
|
|
18
22
|
"""Generate a PN waveform.
|
|
19
23
|
|
|
20
24
|
The return value is an `sxs.WaveformModes` object with the
|
|
@@ -24,7 +28,8 @@ def PNWaveform(M1, M2, chi1, chi2, Omega_i, **kwargs):
|
|
|
24
28
|
- `M2` (array): The secondary mass as a function of time.
|
|
25
29
|
- `chi1` (array): The primary spin as a function of time.
|
|
26
30
|
- `chi2` (array): The secondary spin as a function of time.
|
|
27
|
-
- `frame` (array): The quaternionic frame as a function of
|
|
31
|
+
- `frame` (array): The quaternionic frame as a function of
|
|
32
|
+
time.
|
|
28
33
|
- `v` (array): The orbital velocity as a function of time.
|
|
29
34
|
- `orbital_phase` (array): The orbital phase as a function of
|
|
30
35
|
time.
|
|
@@ -34,21 +39,32 @@ def PNWaveform(M1, M2, chi1, chi2, Omega_i, **kwargs):
|
|
|
34
39
|
`PostNewtonian.inertial_waveform`. See [the Julia
|
|
35
40
|
documentation](https://moble.github.io/PostNewtonian.jl/dev/internals/dynamics/#PostNewtonian.orbital_evolution)
|
|
36
41
|
for details on the optional keyword arguments.
|
|
42
|
+
|
|
43
|
+
Note that the full Julia interface is also accessible from this
|
|
44
|
+
Python module. See [the Julia
|
|
45
|
+
docs](https://moble.github.io/PostNewtonian.jl/dev/interface/python/)
|
|
46
|
+
for details. Also, the GWFrames submodule of this module provides
|
|
47
|
+
another interface.
|
|
37
48
|
|
|
38
49
|
"""
|
|
39
50
|
# Integrate the orbital dynamics
|
|
40
|
-
inspiral = PostNewtonian.orbital_evolution(
|
|
51
|
+
inspiral = PostNewtonian.orbital_evolution(
|
|
52
|
+
M1, M2, chi1, chi2, Omega_i, **orbital_evolution_kwargs
|
|
53
|
+
)
|
|
41
54
|
values = PostNewtonian.stack(inspiral.u)
|
|
42
55
|
|
|
43
56
|
# Compute the waveform in the inertial frame
|
|
44
|
-
|
|
57
|
+
waveform_pn_order = waveform_pn_order or PostNewtonian.typemax(PostNewtonian.Int)
|
|
58
|
+
h = PostNewtonian.inertial_waveform(
|
|
59
|
+
inspiral, ell_min=ell_min, ell_max=ell_max, PNOrder=waveform_pn_order
|
|
60
|
+
).to_numpy().T
|
|
45
61
|
|
|
46
62
|
w = WaveformModes(
|
|
47
63
|
h,
|
|
48
64
|
time=inspiral.t,
|
|
49
65
|
modes_axis=1,
|
|
50
|
-
ell_min=
|
|
51
|
-
ell_max=
|
|
66
|
+
ell_min=ell_min,
|
|
67
|
+
ell_max=ell_max,
|
|
52
68
|
M1=values[0, :].to_numpy(),
|
|
53
69
|
M2=values[1, :].to_numpy(),
|
|
54
70
|
chi1=values[2:5, :].to_numpy().T,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: sxs
|
|
3
|
-
Version: 2023.1.
|
|
3
|
+
Version: 2023.1.6
|
|
4
4
|
Summary: Interface to data produced by the Simulating eXtreme Spacetimes collaboration
|
|
5
5
|
Project-URL: Homepage, https://github.com/sxs-collaboration/sxs
|
|
6
6
|
Project-URL: Documentation, https://sxs.readthedocs.io/
|
|
@@ -62,7 +62,8 @@ Requires-Dist: jupyterlab>=2.2.8; extra == 'ecosystem'
|
|
|
62
62
|
Requires-Dist: line-profiler>=3.0.2; extra == 'ecosystem'
|
|
63
63
|
Requires-Dist: matplotlib>=2.1.1; extra == 'ecosystem'
|
|
64
64
|
Requires-Dist: memory-profiler>=0.57.0; extra == 'ecosystem'
|
|
65
|
-
Requires-Dist: numpy-quaternion>=0.
|
|
65
|
+
Requires-Dist: numpy-quaternion>=2023.0.4; extra == 'ecosystem'
|
|
66
|
+
Requires-Dist: numpy<2.0,>=1.20; extra == 'ecosystem'
|
|
66
67
|
Requires-Dist: qgrid>=1.3.1; extra == 'ecosystem'
|
|
67
68
|
Requires-Dist: rise>=5.6.1; extra == 'ecosystem'
|
|
68
69
|
Requires-Dist: scri>=2020.8.18; (sys_platform != 'win32') and extra == 'ecosystem'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sxs/__init__.py,sha256=mDh2J6wLpie1GJT-Z3cmB3poEOvjXk-JsRu-p9U7zlI,2512
|
|
2
|
-
sxs/__version__.py,sha256=
|
|
2
|
+
sxs/__version__.py,sha256=0XMY0LAN8BBg1IzOFJXpeFphkStoJ3Wl78yqYs28Lzk,25
|
|
3
3
|
sxs/handlers.py,sha256=odBzrk5f-Q3Nzm2_brKBGiSgo-x8q4DmCt0H0E6J8Ko,20929
|
|
4
4
|
sxs/juliapkg.json,sha256=7gFXwLT2iVnQp9280M2WLj4uVgWHiNy1qixQK17BSqw,176
|
|
5
5
|
sxs/time_series.py,sha256=c3doMFyRrC33_YjFO4CLGhBOECWECo4TGzrhetSG8EQ,39641
|
|
@@ -14,7 +14,7 @@ sxs/horizons/__init__.py,sha256=KR0aaEyreLHJItMBExGhG8bhRrHfPc0jBgPMsHysoEY,1626
|
|
|
14
14
|
sxs/horizons/spec_horizons_h5.py,sha256=63cIGXuCEbJWrkRu3_mjL2gmssWtQ4axBTmg_wo_020,3642
|
|
15
15
|
sxs/horizons/xor_multishuffle_bzip2.py,sha256=y4AKuxmLuj8K1pkdhIoSzENGyMu4uhpiPrBh-XisvK4,6536
|
|
16
16
|
sxs/julia/GWFrames.py,sha256=WIm6TKm_2crM4TDY098XOKZVccUDzN8ndDN5RrG9eHI,2558
|
|
17
|
-
sxs/julia/__init__.py,sha256=
|
|
17
|
+
sxs/julia/__init__.py,sha256=jJ5nyg0z5ao92TuSLM9cQPgy0pddzZLf-jJ-ZI5ei0I,2985
|
|
18
18
|
sxs/metadata/__init__.py,sha256=KCvJ9Cf1WhIZp-z28UzarKcmUAzV2BOv2gqKiorILjo,149
|
|
19
19
|
sxs/metadata/metadata.py,sha256=_vGqMUbeiN0fecJj9f9f9ex56WgSZuwwBXykUuj1_ZI,27679
|
|
20
20
|
sxs/utilities/__init__.py,sha256=Np27-TQRWfGP8HtDWlZcnZ_UL8QHBXLjXHGHGAbHD2g,4580
|
|
@@ -75,7 +75,7 @@ sxs/zenodo/api/__init__.py,sha256=EM_eh4Q8R5E0vIfMhyIR1IYFfOBu6vA0UTasgX9gHys,21
|
|
|
75
75
|
sxs/zenodo/api/deposit.py,sha256=uor1irig-gBvrEQNg_Wb0ZuiXhZC9AeLwuJu3vB30e0,36946
|
|
76
76
|
sxs/zenodo/api/login.py,sha256=Yz0ytgi81_5BpDzhrS0WPMXlvU2qUaCK8yn8zxfEbko,18007
|
|
77
77
|
sxs/zenodo/api/records.py,sha256=nKkhoHZ95CTztHF9Zzaug5p7IiUCJG4Em1i-l-WqH6U,3689
|
|
78
|
-
sxs-2023.1.
|
|
79
|
-
sxs-2023.1.
|
|
80
|
-
sxs-2023.1.
|
|
81
|
-
sxs-2023.1.
|
|
78
|
+
sxs-2023.1.6.dist-info/METADATA,sha256=svGMBX-hA3KdQC5TpROHWgYYJnnME93NGV81RPZ0YrQ,9419
|
|
79
|
+
sxs-2023.1.6.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
80
|
+
sxs-2023.1.6.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
|
|
81
|
+
sxs-2023.1.6.dist-info/RECORD,,
|
|
File without changes
|