sxs 2024.0.24__py3-none-any.whl → 2024.0.25__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "2024.0.24"
1
+ __version__ = "2024.0.25"
@@ -77,6 +77,11 @@ def load(file, **kwargs):
77
77
  subfile = kwargs.pop("subfile", "rh_CCE_GeometricUnits.h5")
78
78
  radius = kwargs.pop("radius", "50.00")
79
79
 
80
+ if subfile.startswith("rPsi4"):
81
+ data_type = nrar.psi4
82
+ elif subfile.startswith("rh"):
83
+ data_type = nrar.h
84
+
80
85
  with tarfile.open(file, "r") as tf:
81
86
  tf_names = [tfi.name for tfi in tf]
82
87
  index = tf_names.index(f"{resolution}/{subfile}")
@@ -85,9 +90,15 @@ def load(file, **kwargs):
85
90
  h5file,
86
91
  h5_group=radius,
87
92
  frame_type=nrar.Inertial,
88
- data_type=nrar.h,
93
+ data_type=data_type,
89
94
  m_is_scaled_out=True,
90
95
  r_is_scaled_out=True,
91
96
  )
92
97
 
98
+ w._metadata["frame_type"] = "inertial"
99
+ if subfile.startswith("rPsi4"):
100
+ w._metadata["data_type"] = "psi4"
101
+ elif subfile.startswith("rh"):
102
+ w._metadata["data_type"] = "h"
103
+
93
104
  return w
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sxs
3
- Version: 2024.0.24
3
+ Version: 2024.0.25
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/
@@ -1,5 +1,5 @@
1
1
  sxs/__init__.py,sha256=hbydsXWR88sFiKExPJ1NHWGEvWRbbJBjSc1irSMYKgY,2623
2
- sxs/__version__.py,sha256=mmwyMBxxhpLBrZ0NORTAKzSf8R7pTJXf2m8m6-6FouM,26
2
+ sxs/__version__.py,sha256=wFnAFbLby385Dh-116_1KBAU9uaxIlFikcXmdzUfU-A,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
@@ -65,7 +65,7 @@ sxs/waveforms/waveform_mixin.py,sha256=S0RNe2HkwnqdCyGEarGYmoXD_DkTWGorsiGGIBWOa
65
65
  sxs/waveforms/waveform_modes.py,sha256=svvEHHyOez6MFcpVsIFsiLJqvGrb_saCgSHVBK1XErk,57100
66
66
  sxs/waveforms/waveform_signal.py,sha256=Ojrt6DSDdleB0qmu6UwjjPnYdaWsrjnpBA_8dhnM_q4,182
67
67
  sxs/waveforms/format_handlers/__init__.py,sha256=0wsnuBYCYsCkN19L2ipga7BtigvPyBcqiy_4qrzmLpE,50
68
- sxs/waveforms/format_handlers/grathena.py,sha256=Ng0eEo3Um_WOYe63waaOYxy5Qu8m7-piCjgB3XguUdU,3294
68
+ sxs/waveforms/format_handlers/grathena.py,sha256=5NrHL3K0mRHApnFx5YsMUufDKUD1A_dZu8mGQqOdBeE,3622
69
69
  sxs/waveforms/format_handlers/lvc.py,sha256=gdXYqa8Bn8jCSIRIshMP399WO9ZMtkNtkAQiuzqhH_0,7817
70
70
  sxs/waveforms/format_handlers/nrar.py,sha256=3ycVoqQcWAAixV3mKp58_wUhYBHt6QeLv2YGSvy-EGM,21538
71
71
  sxs/waveforms/format_handlers/rotating_paired_diff_multishuffle_bzip2.py,sha256=C19-9VkQ5dt9I7GHkeFrF56k_BbFPHXIMX_xmmBj7ww,27477
@@ -80,7 +80,7 @@ sxs/zenodo/api/__init__.py,sha256=EM_eh4Q8R5E0vIfMhyIR1IYFfOBu6vA0UTasgX9gHys,21
80
80
  sxs/zenodo/api/deposit.py,sha256=J4RGvGjh0cEOrN4bBZWEDcPAhNscqB2fzLlvRZ5HTHM,36948
81
81
  sxs/zenodo/api/login.py,sha256=Yz0ytgi81_5BpDzhrS0WPMXlvU2qUaCK8yn8zxfEbko,18007
82
82
  sxs/zenodo/api/records.py,sha256=nKkhoHZ95CTztHF9Zzaug5p7IiUCJG4Em1i-l-WqH6U,3689
83
- sxs-2024.0.24.dist-info/METADATA,sha256=JcN5Id2HHk-gLksiFD8wAHbJ_FZTk6C93dah3OjSH3k,9223
84
- sxs-2024.0.24.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
85
- sxs-2024.0.24.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
86
- sxs-2024.0.24.dist-info/RECORD,,
83
+ sxs-2024.0.25.dist-info/METADATA,sha256=w7m7WhEL59re0ZSEBMopnSJFrHuKLV2ZgUMhmuFgygA,9223
84
+ sxs-2024.0.25.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
85
+ sxs-2024.0.25.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
86
+ sxs-2024.0.25.dist-info/RECORD,,