sxs 2023.3.1__tar.gz → 2024.0.0__tar.gz

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.
Files changed (134) hide show
  1. {sxs-2023.3.1 → sxs-2024.0.0}/CITATION.cff +2 -2
  2. {sxs-2023.3.1 → sxs-2024.0.0}/PKG-INFO +14 -15
  3. {sxs-2023.3.1 → sxs-2024.0.0}/README.md +8 -8
  4. sxs-2024.0.0/docs/api/simulation.md +23 -0
  5. sxs-2024.0.0/docs/api/simulations.md +3 -0
  6. sxs-2024.0.0/docs/tutorials/00-Introduction.ipynb +289 -0
  7. sxs-2024.0.0/docs/tutorials/01-Simulations_and_Metadata.ipynb +4739 -0
  8. sxs-2024.0.0/docs/tutorials/02-Simulation.ipynb +564 -0
  9. sxs-2024.0.0/docs/tutorials/03-Horizons.ipynb +412 -0
  10. sxs-2024.0.0/docs/tutorials/04-Waveforms.ipynb +1103 -0
  11. sxs-2024.0.0/docs/tutorials/05-PreprocessingForFFTs.ipynb +442 -0
  12. {sxs-2023.3.1 → sxs-2024.0.0}/mkdocs.yml +4 -3
  13. {sxs-2023.3.1 → sxs-2024.0.0}/pyproject.toml +5 -6
  14. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/__init__.py +5 -5
  15. sxs-2024.0.0/sxs/__version__.py +1 -0
  16. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/catalog/catalog.py +10 -1
  17. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/handlers.py +150 -48
  18. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/horizons/__init__.py +3 -3
  19. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/juliapkg.json +2 -2
  20. sxs-2024.0.0/sxs/simulations/__init__.py +2 -0
  21. sxs-2024.0.0/sxs/simulations/simulation.py +521 -0
  22. sxs-2024.0.0/sxs/simulations/simulations.py +369 -0
  23. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/time_series.py +59 -0
  24. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/__init__.py +6 -2
  25. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/sxs_identifiers.py +19 -9
  26. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/url.py +4 -1
  27. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/format_handlers/rotating_paired_diff_multishuffle_bzip2.py +9 -6
  28. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/waveform_modes.py +7 -0
  29. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/__init__.py +13 -0
  30. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/api/deposit.py +2 -2
  31. sxs-2024.0.0/tests/test_simulation.py +56 -0
  32. sxs-2023.3.1/docs/tutorials/00-Introduction.ipynb +0 -297
  33. sxs-2023.3.1/docs/tutorials/01-Metadata.ipynb +0 -397
  34. sxs-2023.3.1/docs/tutorials/03-Horizons.ipynb +0 -412
  35. sxs-2023.3.1/docs/tutorials/04-Waveforms.ipynb +0 -1174
  36. sxs-2023.3.1/docs/tutorials/05-PreprocessingForFFTs.ipynb +0 -441
  37. sxs-2023.3.1/sxs/__version__.py +0 -1
  38. {sxs-2023.3.1 → sxs-2024.0.0}/.codecov.yml +0 -0
  39. {sxs-2023.3.1 → sxs-2024.0.0}/.github/dependabot.yml +0 -0
  40. {sxs-2023.3.1 → sxs-2024.0.0}/.github/scripts/parse_bump_rule.py +0 -0
  41. {sxs-2023.3.1 → sxs-2024.0.0}/.github/workflows/build.yml +0 -0
  42. {sxs-2023.3.1 → sxs-2024.0.0}/.github/workflows/pr_rtd_link.yml +0 -0
  43. {sxs-2023.3.1 → sxs-2024.0.0}/.gitignore +0 -0
  44. {sxs-2023.3.1 → sxs-2024.0.0}/.readthedocs.yaml +0 -0
  45. {sxs-2023.3.1 → sxs-2024.0.0}/LICENSE +0 -0
  46. {sxs-2023.3.1 → sxs-2024.0.0}/docs/api/catalog.md +0 -0
  47. {sxs-2023.3.1 → sxs-2024.0.0}/docs/api/horizons.md +0 -0
  48. {sxs-2023.3.1 → sxs-2024.0.0}/docs/api/load.md +0 -0
  49. {sxs-2023.3.1 → sxs-2024.0.0}/docs/api/metadata.md +0 -0
  50. {sxs-2023.3.1 → sxs-2024.0.0}/docs/api/time_series.md +0 -0
  51. {sxs-2023.3.1 → sxs-2024.0.0}/docs/api/waveforms.md +0 -0
  52. {sxs-2023.3.1 → sxs-2024.0.0}/docs/html/main.html +0 -0
  53. {sxs-2023.3.1 → sxs-2024.0.0}/docs/images/favicon.ico +0 -0
  54. {sxs-2023.3.1 → sxs-2024.0.0}/docs/index.md +0 -0
  55. {sxs-2023.3.1 → sxs-2024.0.0}/docs/javascript/mathjax.js +0 -0
  56. {sxs-2023.3.1 → sxs-2024.0.0}/docs/julia.md +0 -0
  57. {sxs-2023.3.1 → sxs-2024.0.0}/docs/mathematica.md +0 -0
  58. {sxs-2023.3.1 → sxs-2024.0.0}/docs/stylesheets/extra.css +0 -0
  59. {sxs-2023.3.1 → sxs-2024.0.0}/docs/tutorials/02-Catalog.ipynb +0 -0
  60. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/caltechdata/__init__.py +0 -0
  61. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/caltechdata/catalog.py +0 -0
  62. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/caltechdata/login.py +0 -0
  63. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/catalog/__init__.py +0 -0
  64. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/catalog/create.py +0 -0
  65. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/catalog/description.py +0 -0
  66. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/horizons/spec_horizons_h5.py +0 -0
  67. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/horizons/xor_multishuffle_bzip2.py +0 -0
  68. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/julia/GWFrames.py +0 -0
  69. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/julia/__init__.py +0 -0
  70. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/metadata/__init__.py +0 -0
  71. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/metadata/metadata.py +0 -0
  72. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/bitwise.py +0 -0
  73. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/decimation/__init__.py +0 -0
  74. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/decimation/greedy_spline.py +0 -0
  75. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/decimation/linear_bisection.py +0 -0
  76. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/decimation/peak_greed.py +0 -0
  77. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/decimation/suppression.py +0 -0
  78. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/dicts.py +0 -0
  79. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/downloads.py +0 -0
  80. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/files.py +0 -0
  81. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/formats.py +0 -0
  82. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/inspire.py +0 -0
  83. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/__init__.py +0 -0
  84. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/comparisons.py +0 -0
  85. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/conversion.py +0 -0
  86. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/dataset.py +0 -0
  87. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/horizons.py +0 -0
  88. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/metadata.py +0 -0
  89. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/waveform_amp_phase.py +0 -0
  90. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/lvcnr/waveforms.py +0 -0
  91. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/monotonicity.py +0 -0
  92. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/pretty_print.py +0 -0
  93. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/references/__init__.py +0 -0
  94. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/references/ads.py +0 -0
  95. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/references/arxiv.py +0 -0
  96. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/references/fairchild_report.py +0 -0
  97. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/references/inspire.py +0 -0
  98. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/references/journal_abbreviations.py +0 -0
  99. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/references/references.py +0 -0
  100. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/select.py +0 -0
  101. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/smooth_functions.py +0 -0
  102. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/utilities/sxs_directories.py +0 -0
  103. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/__init__.py +0 -0
  104. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/alignment.py +0 -0
  105. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/format_handlers/__init__.py +0 -0
  106. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/format_handlers/lvc.py +0 -0
  107. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/format_handlers/nrar.py +0 -0
  108. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/format_handlers/rotating_paired_xor_multishuffle_bzip2.py +0 -0
  109. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/format_handlers/spectre_cce_v1.py +0 -0
  110. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/memory.py +0 -0
  111. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/mode_utilities.py +0 -0
  112. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/transformations.py +0 -0
  113. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/waveform_grid.py +0 -0
  114. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/waveform_mixin.py +0 -0
  115. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/waveforms/waveform_signal.py +0 -0
  116. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/api/__init__.py +0 -0
  117. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/api/login.py +0 -0
  118. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/api/records.py +0 -0
  119. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/catalog.py +0 -0
  120. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/creators.py +0 -0
  121. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/simannex.py +0 -0
  122. {sxs-2023.3.1 → sxs-2024.0.0}/sxs/zenodo/surrogatemodeling.py +0 -0
  123. {sxs-2023.3.1 → sxs-2024.0.0}/tests/__init__.py +0 -0
  124. {sxs-2023.3.1 → sxs-2024.0.0}/tests/conftest.py +0 -0
  125. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_catalog.py +0 -0
  126. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_horizons.py +0 -0
  127. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_julia.py +0 -0
  128. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_loader.py +0 -0
  129. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_metadata.py +0 -0
  130. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_time_series.py +0 -0
  131. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_transformations.py +0 -0
  132. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_utilities.py +0 -0
  133. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_waveform_rotations.py +0 -0
  134. {sxs-2023.3.1 → sxs-2024.0.0}/tests/test_waveforms.py +0 -0
@@ -10,5 +10,5 @@ authors:
10
10
  title: "The sxs package"
11
11
  license: MIT
12
12
  doi: 10.5281/zenodo.4034006
13
- version: 2023.3.1
14
- date-released: 2024-07-25
13
+ version: 2024.0.0
14
+ date-released: 2024-08-06
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sxs
3
- Version: 2023.3.1
3
+ Version: 2024.0.0
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/
@@ -54,19 +54,18 @@ Requires-Dist: mkdocs-jupyter; extra == 'docs'
54
54
  Requires-Dist: mkdocs-material; extra == 'docs'
55
55
  Requires-Dist: mkdocstrings-python; extra == 'docs'
56
56
  Provides-Extra: ecosystem
57
- Requires-Dist: corner>=2.1.0; extra == 'ecosystem'
58
- Requires-Dist: ipykernel>=5.3.4; extra == 'ecosystem'
59
- Requires-Dist: ipywidgets>=7.5.1; extra == 'ecosystem'
60
- Requires-Dist: jupyter-contrib-nbextensions>=0.5.1; extra == 'ecosystem'
61
- Requires-Dist: jupyterlab>=2.2.8; extra == 'ecosystem'
57
+ Requires-Dist: ipykernel>=6.29; extra == 'ecosystem'
58
+ Requires-Dist: ipywidgets>=8.0; extra == 'ecosystem'
59
+ Requires-Dist: jupyterlab>=4.2; extra == 'ecosystem'
62
60
  Requires-Dist: line-profiler>=3.0.2; extra == 'ecosystem'
63
61
  Requires-Dist: matplotlib>=2.1.1; extra == 'ecosystem'
64
62
  Requires-Dist: memory-profiler>=0.57.0; extra == 'ecosystem'
65
63
  Requires-Dist: numpy-quaternion>=2023.0.4; extra == 'ecosystem'
66
64
  Requires-Dist: numpy<2.0,>=1.20; extra == 'ecosystem'
67
- Requires-Dist: qgrid>=1.3.1; extra == 'ecosystem'
65
+ Requires-Dist: qgridnext>=2.0; extra == 'ecosystem'
68
66
  Requires-Dist: rise>=5.6.1; extra == 'ecosystem'
69
67
  Requires-Dist: scri>=2020.8.18; (sys_platform != 'win32') and extra == 'ecosystem'
68
+ Requires-Dist: seaborn>=0.13; extra == 'ecosystem'
70
69
  Requires-Dist: spinsfast>=2022; (sys_platform != 'win32') and extra == 'ecosystem'
71
70
  Requires-Dist: sympy>=1.6.2; extra == 'ecosystem'
72
71
  Description-Content-Type: text/markdown
@@ -90,14 +89,13 @@ automatically select the newest or highest-resolution dataset for a given
90
89
  simulation, or return a range of versions or resolutions. Currently, the
91
90
  high-level objects encapsulate
92
91
 
93
- * Catalog — a listing of all data produced by the SXS collaboration
92
+ * Simulations — a catalog of all simulations produced by the SXS collaboration
93
+ * Simulation — an object encapsulating all data for a single simulation
94
94
  * Metadata — data describing the simulation parameters
95
95
  * Horizons — time-series data describing the apparent horizons
96
96
  * Waveforms — time-series data describing the extrapolated gravitational-wave
97
97
  modes
98
98
 
99
- The complete documentation is [hosted here](https://sxs.readthedocs.io/en/stable/).
100
-
101
99
 
102
100
  ## Installation
103
101
 
@@ -156,15 +154,16 @@ interactive jupyter notebooks that are actually running this code and some
156
154
  pre-downloaded data. The following is just a very brief overview of the `sxs`
157
155
  package's main components.
158
156
 
159
- There are four important objects to understand in this package:
157
+ There are five important objects to understand in this package:
160
158
 
161
159
  ```python
162
160
  import sxs
163
161
 
164
- catalog = sxs.load("catalog")
165
- metadata = sxs.load("SXS:BBH:0123/Lev/metadata.json")
166
- horizons = sxs.load("SXS:BBH:0123/Lev/Horizons.h5")
167
- waveform = sxs.load("SXS:BBH:0123/Lev/rhOverM", extrapolation_order=2)
162
+ simulations = sxs.load("simulations")
163
+ sxs_bbh_1234 = sxs.load("SXS:BBH:1234")
164
+ metadata = sxs_bbh_1234.metadata
165
+ horizons = sxs_bbh_1234.horizons
166
+ h = sxs_bbh_1234.h
168
167
  ```
169
168
 
170
169
  [The `catalog`
@@ -17,14 +17,13 @@ automatically select the newest or highest-resolution dataset for a given
17
17
  simulation, or return a range of versions or resolutions. Currently, the
18
18
  high-level objects encapsulate
19
19
 
20
- * Catalog — a listing of all data produced by the SXS collaboration
20
+ * Simulations — a catalog of all simulations produced by the SXS collaboration
21
+ * Simulation — an object encapsulating all data for a single simulation
21
22
  * Metadata — data describing the simulation parameters
22
23
  * Horizons — time-series data describing the apparent horizons
23
24
  * Waveforms — time-series data describing the extrapolated gravitational-wave
24
25
  modes
25
26
 
26
- The complete documentation is [hosted here](https://sxs.readthedocs.io/en/stable/).
27
-
28
27
 
29
28
  ## Installation
30
29
 
@@ -83,15 +82,16 @@ interactive jupyter notebooks that are actually running this code and some
83
82
  pre-downloaded data. The following is just a very brief overview of the `sxs`
84
83
  package's main components.
85
84
 
86
- There are four important objects to understand in this package:
85
+ There are five important objects to understand in this package:
87
86
 
88
87
  ```python
89
88
  import sxs
90
89
 
91
- catalog = sxs.load("catalog")
92
- metadata = sxs.load("SXS:BBH:0123/Lev/metadata.json")
93
- horizons = sxs.load("SXS:BBH:0123/Lev/Horizons.h5")
94
- waveform = sxs.load("SXS:BBH:0123/Lev/rhOverM", extrapolation_order=2)
90
+ simulations = sxs.load("simulations")
91
+ sxs_bbh_1234 = sxs.load("SXS:BBH:1234")
92
+ metadata = sxs_bbh_1234.metadata
93
+ horizons = sxs_bbh_1234.horizons
94
+ h = sxs_bbh_1234.h
95
95
  ```
96
96
 
97
97
  [The `catalog`
@@ -0,0 +1,23 @@
1
+ # `Simulation` classes
2
+
3
+ The `Simulation` classes are the primary interface for accessing
4
+ simulation data. They are the top-level objects that contain all the
5
+ data for a single simulation. These classes are designed to be
6
+ lightweight and to load data only when needed.
7
+
8
+ Note that the user will not usually need to interact with these
9
+ classes (or the factory) automatically; the `sxs.load` function will
10
+ automatically select the appropriate version of the simulation and
11
+ return the appropriate object.
12
+
13
+ ## `sxs.Simulation` factory function
14
+ ::: sxs.Simulation
15
+
16
+ ## `SimulationBase` class
17
+ ::: sxs.simulations.simulation.SimulationBase
18
+
19
+ ## `Simulation_v1` class
20
+ ::: sxs.simulations.simulation.Simulation_v1
21
+
22
+ ## `Simulation_v2` class
23
+ ::: sxs.simulations.simulation.Simulation_v2
@@ -0,0 +1,3 @@
1
+ # `Simulations` class
2
+
3
+ ::: sxs.Simulations