sxs 2024.0.20__py3-none-any.whl → 2024.0.22__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/simulations/simulations.py +18 -4
- {sxs-2024.0.20.dist-info → sxs-2024.0.22.dist-info}/METADATA +1 -2
- {sxs-2024.0.20.dist-info → sxs-2024.0.22.dist-info}/RECORD +6 -6
- {sxs-2024.0.20.dist-info → sxs-2024.0.22.dist-info}/WHEEL +1 -1
- {sxs-2024.0.20.dist-info → sxs-2024.0.22.dist-info}/licenses/LICENSE +0 -0
sxs/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2024.0.
|
|
1
|
+
__version__ = "2024.0.22"
|
sxs/simulations/simulations.py
CHANGED
|
@@ -6,10 +6,10 @@ import pandas as pd
|
|
|
6
6
|
|
|
7
7
|
class SimulationsDataFrame(pd.DataFrame):
|
|
8
8
|
@property
|
|
9
|
-
def
|
|
9
|
+
def BBH(self):
|
|
10
10
|
"""Restrict dataframe to just binary black hole systems"""
|
|
11
11
|
return type(self)(self[self["object_types"] == "BHBH"])
|
|
12
|
-
|
|
12
|
+
BHBH = BBH
|
|
13
13
|
|
|
14
14
|
@property
|
|
15
15
|
def BHNS(self):
|
|
@@ -65,9 +65,23 @@ class SimulationsDataFrame(pd.DataFrame):
|
|
|
65
65
|
measured eccentricity means that the system is not
|
|
66
66
|
hyperbolic or head-on.
|
|
67
67
|
"""
|
|
68
|
+
df = self.BBH
|
|
69
|
+
return type(df)(df[
|
|
70
|
+
np.isfinite(df["reference_eccentricity"])
|
|
71
|
+
& np.isfinite(df["remnant_mass"])
|
|
72
|
+
])
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def hyperbolic(self):
|
|
76
|
+
"""Restrict dataframe to just hyperbolic systems
|
|
77
|
+
|
|
78
|
+
The criterion used here is that the (normalized) ADM mass is
|
|
79
|
+
greater than 1.
|
|
80
|
+
"""
|
|
81
|
+
total_mass = self["initial_mass1"] + self["initial_mass2"]
|
|
82
|
+
normalized_ADM = self["initial_ADM_energy"] / total_mass
|
|
68
83
|
return type(self)(self[
|
|
69
|
-
np.isfinite(
|
|
70
|
-
& np.isfinite(self["remnant_mass"])
|
|
84
|
+
np.isfinite(total_mass) & (total_mass > 0) & (normalized_ADM > 1)
|
|
71
85
|
])
|
|
72
86
|
|
|
73
87
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: sxs
|
|
3
|
-
Version: 2024.0.
|
|
3
|
+
Version: 2024.0.22
|
|
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/
|
|
@@ -26,7 +26,6 @@ License: The MIT License (MIT)
|
|
|
26
26
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
27
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
28
|
SOFTWARE.
|
|
29
|
-
License-File: LICENSE
|
|
30
29
|
Classifier: Development Status :: 5 - Production/Stable
|
|
31
30
|
Classifier: Intended Audience :: Science/Research
|
|
32
31
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sxs/__init__.py,sha256=hbydsXWR88sFiKExPJ1NHWGEvWRbbJBjSc1irSMYKgY,2623
|
|
2
|
-
sxs/__version__.py,sha256=
|
|
2
|
+
sxs/__version__.py,sha256=I4E6gGsS8NeMVLO7_zs_eRHp09cSVrztULxx3C2s-XA,26
|
|
3
3
|
sxs/handlers.py,sha256=Nc1_aDKm_wDHg2cITI_ljbqU4VRWpwQ7fdgy3c1XcE8,17531
|
|
4
4
|
sxs/juliapkg.json,sha256=higH1UDu30K_PN6-o7lAz0j1xjgYEiCCYBAc-Iaw1Iw,178
|
|
5
5
|
sxs/time_series.py,sha256=OKaLg8tFyrtKcef7900ri-a0C6A8wKxA68KovZXvH6I,41081
|
|
@@ -20,7 +20,7 @@ sxs/metadata/metadata.py,sha256=y6X7LcsJKiZFjBPTwRHGtsT2uHf2s0r0OG_EGjD27pE,2766
|
|
|
20
20
|
sxs/simulations/__init__.py,sha256=GrZym0PHTULDg_hyFmISNzDfqVLz_hQo-djbgecZs54,134
|
|
21
21
|
sxs/simulations/local.py,sha256=CEu8PzumNB1-JA05M4tYSW_UZVrldKzOB5T_I3pFWls,5789
|
|
22
22
|
sxs/simulations/simulation.py,sha256=R2Nf3z3XEu92-oiHLeynGMpjqQu5iYV25L8K9lFrOcY,34204
|
|
23
|
-
sxs/simulations/simulations.py,sha256=
|
|
23
|
+
sxs/simulations/simulations.py,sha256=qnYHKd6wz5auYweOZeDDMm4ZzG3s-lqOltQCxEZBrmU,23594
|
|
24
24
|
sxs/utilities/__init__.py,sha256=WSStlqljfgQheMxHGfuofSc5LdmASGvO3FNO3f_zaT0,4806
|
|
25
25
|
sxs/utilities/bitwise.py,sha256=G9ZNYgwDQRhq5wbDf-p2HcUqkEP_IRDiQoXW4KyU17k,13205
|
|
26
26
|
sxs/utilities/dicts.py,sha256=CCpm3upG_9SRj9gjawukSUfaJ5asF-XRG2ausEXhYyg,695
|
|
@@ -79,7 +79,7 @@ sxs/zenodo/api/__init__.py,sha256=EM_eh4Q8R5E0vIfMhyIR1IYFfOBu6vA0UTasgX9gHys,21
|
|
|
79
79
|
sxs/zenodo/api/deposit.py,sha256=J4RGvGjh0cEOrN4bBZWEDcPAhNscqB2fzLlvRZ5HTHM,36948
|
|
80
80
|
sxs/zenodo/api/login.py,sha256=Yz0ytgi81_5BpDzhrS0WPMXlvU2qUaCK8yn8zxfEbko,18007
|
|
81
81
|
sxs/zenodo/api/records.py,sha256=nKkhoHZ95CTztHF9Zzaug5p7IiUCJG4Em1i-l-WqH6U,3689
|
|
82
|
-
sxs-2024.0.
|
|
83
|
-
sxs-2024.0.
|
|
84
|
-
sxs-2024.0.
|
|
85
|
-
sxs-2024.0.
|
|
82
|
+
sxs-2024.0.22.dist-info/METADATA,sha256=Fr9NWKGw4rnKeDxR1GENCk5nQ2JYSwS4pHPws9nZSB8,9223
|
|
83
|
+
sxs-2024.0.22.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
84
|
+
sxs-2024.0.22.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
|
|
85
|
+
sxs-2024.0.22.dist-info/RECORD,,
|
|
File without changes
|