sxs 2024.0.44__py3-none-any.whl → 2025.0.1__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/__init__.py +1 -1
- sxs/__version__.py +1 -1
- sxs/handlers.py +3 -19
- sxs/metadata/__init__.py +1 -9
- sxs/metadata/metadata.py +1 -640
- sxs/metadata/metric.py +1 -152
- sxs/simulations/local.py +1 -227
- sxs/simulations/simulation.py +19 -4
- sxs/simulations/simulations.py +1 -572
- sxs/utilities/downloads.py +1 -103
- sxs/utilities/string_converters.py +1 -47
- sxs/utilities/sxs_directories.py +1 -205
- sxs/utilities/sxs_identifiers.py +1 -126
- sxs/zenodo/__init__.py +1 -11
- {sxs-2024.0.44.dist-info → sxs-2025.0.1.dist-info}/METADATA +2 -1
- {sxs-2024.0.44.dist-info → sxs-2025.0.1.dist-info}/RECORD +18 -21
- sxs/caltechdata/__init__.py +0 -342
- sxs/caltechdata/catalog.py +0 -85
- sxs/caltechdata/login.py +0 -506
- {sxs-2024.0.44.dist-info → sxs-2025.0.1.dist-info}/WHEEL +0 -0
- {sxs-2024.0.44.dist-info → sxs-2025.0.1.dist-info}/licenses/LICENSE +0 -0
sxs/__init__.py
CHANGED
|
@@ -28,7 +28,7 @@ from .waveforms import WaveformModes, WaveformModesDict, to_lvc_conventions #, W
|
|
|
28
28
|
from .waveforms import rotating_paired_xor_multishuffle_bzip2 as rpxmb
|
|
29
29
|
from .waveforms import rotating_paired_diff_multishuffle_bzip2 as rpdmb
|
|
30
30
|
from .waveforms import spectre_cce_v1
|
|
31
|
-
from . import catalog, metadata, horizons, waveforms, zenodo
|
|
31
|
+
from . import catalog, metadata, horizons, waveforms, zenodo
|
|
32
32
|
from .simulations import Simulation, Simulations, write_local_simulations, local_simulations
|
|
33
33
|
from .handlers import load, load_via_sxs_id, loadcontext, load_lvc
|
|
34
34
|
|
sxs/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "
|
|
1
|
+
__version__ = "2025.0.1"
|
sxs/handlers.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Functions to facilitate generic handling of SXS-format data files"""
|
|
2
2
|
|
|
3
3
|
import contextlib
|
|
4
|
+
import sxscatalog
|
|
4
5
|
from . import waveforms, doi_url
|
|
5
6
|
|
|
6
7
|
|
|
@@ -280,25 +281,8 @@ def load(location, download=None, cache=None, progress=None, truepath=None, **kw
|
|
|
280
281
|
elif location == "catalog":
|
|
281
282
|
return Catalog.load(download=download)
|
|
282
283
|
|
|
283
|
-
elif location
|
|
284
|
-
return
|
|
285
|
-
download=download,
|
|
286
|
-
local=kwargs.get("local", False),
|
|
287
|
-
annex_dir=kwargs.get("annex_dir", None),
|
|
288
|
-
output_file=kwargs.get("output_file", None),
|
|
289
|
-
compute_md5=kwargs.get("compute_md5", False),
|
|
290
|
-
show_progress=kwargs.get("show_progress", False)
|
|
291
|
-
)
|
|
292
|
-
|
|
293
|
-
elif location == "dataframe":
|
|
294
|
-
return Simulations.load(
|
|
295
|
-
download=download,
|
|
296
|
-
local=kwargs.get("local", False),
|
|
297
|
-
annex_dir=kwargs.get("annex_dir", None),
|
|
298
|
-
output_file=kwargs.get("output_file", None),
|
|
299
|
-
compute_md5=kwargs.get("compute_md5", False),
|
|
300
|
-
show_progress=kwargs.get("show_progress", False)
|
|
301
|
-
).dataframe
|
|
284
|
+
elif location in ["simulations", "dataframe"]:
|
|
285
|
+
return sxscatalog.load(location, download=download, **kwargs)
|
|
302
286
|
|
|
303
287
|
elif sxs_id_version_lev_exact_re.match(location):
|
|
304
288
|
return Simulation(location, download=download, cache=cache, progress=progress, **kwargs)
|