sxs 2023.1.4__tar.gz → 2023.1.5__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 (121) hide show
  1. {sxs-2023.1.4 → sxs-2023.1.5}/CITATION.cff +2 -2
  2. {sxs-2023.1.4 → sxs-2023.1.5}/PKG-INFO +1 -1
  3. sxs-2023.1.5/docs/julia.md +60 -0
  4. {sxs-2023.1.4 → sxs-2023.1.5}/mkdocs.yml +2 -0
  5. sxs-2023.1.5/sxs/__version__.py +1 -0
  6. sxs-2023.1.4/sxs/__version__.py +0 -1
  7. {sxs-2023.1.4 → sxs-2023.1.5}/.codecov.yml +0 -0
  8. {sxs-2023.1.4 → sxs-2023.1.5}/.github/dependabot.yml +0 -0
  9. {sxs-2023.1.4 → sxs-2023.1.5}/.github/scripts/parse_bump_rule.py +0 -0
  10. {sxs-2023.1.4 → sxs-2023.1.5}/.github/workflows/build.yml +0 -0
  11. {sxs-2023.1.4 → sxs-2023.1.5}/.github/workflows/pr_rtd_link.yml +0 -0
  12. {sxs-2023.1.4 → sxs-2023.1.5}/.gitignore +0 -0
  13. {sxs-2023.1.4 → sxs-2023.1.5}/.readthedocs.yaml +0 -0
  14. {sxs-2023.1.4 → sxs-2023.1.5}/LICENSE +0 -0
  15. {sxs-2023.1.4 → sxs-2023.1.5}/README.md +0 -0
  16. {sxs-2023.1.4 → sxs-2023.1.5}/docs/api/catalog.md +0 -0
  17. {sxs-2023.1.4 → sxs-2023.1.5}/docs/api/horizons.md +0 -0
  18. {sxs-2023.1.4 → sxs-2023.1.5}/docs/api/load.md +0 -0
  19. {sxs-2023.1.4 → sxs-2023.1.5}/docs/api/metadata.md +0 -0
  20. {sxs-2023.1.4 → sxs-2023.1.5}/docs/api/time_series.md +0 -0
  21. {sxs-2023.1.4 → sxs-2023.1.5}/docs/api/waveforms.md +0 -0
  22. {sxs-2023.1.4 → sxs-2023.1.5}/docs/html/main.html +0 -0
  23. {sxs-2023.1.4 → sxs-2023.1.5}/docs/images/favicon.ico +0 -0
  24. {sxs-2023.1.4 → sxs-2023.1.5}/docs/index.md +0 -0
  25. {sxs-2023.1.4 → sxs-2023.1.5}/docs/javascript/mathjax.js +0 -0
  26. {sxs-2023.1.4 → sxs-2023.1.5}/docs/mathematica.md +0 -0
  27. {sxs-2023.1.4 → sxs-2023.1.5}/docs/stylesheets/extra.css +0 -0
  28. {sxs-2023.1.4 → sxs-2023.1.5}/docs/tutorials/00-Introduction.ipynb +0 -0
  29. {sxs-2023.1.4 → sxs-2023.1.5}/docs/tutorials/01-Metadata.ipynb +0 -0
  30. {sxs-2023.1.4 → sxs-2023.1.5}/docs/tutorials/02-Catalog.ipynb +0 -0
  31. {sxs-2023.1.4 → sxs-2023.1.5}/docs/tutorials/03-Horizons.ipynb +0 -0
  32. {sxs-2023.1.4 → sxs-2023.1.5}/docs/tutorials/04-Waveforms.ipynb +0 -0
  33. {sxs-2023.1.4 → sxs-2023.1.5}/docs/tutorials/05-PreprocessingForFFTs.ipynb +0 -0
  34. {sxs-2023.1.4 → sxs-2023.1.5}/pyproject.toml +0 -0
  35. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/__init__.py +0 -0
  36. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/caltechdata/__init__.py +0 -0
  37. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/caltechdata/catalog.py +0 -0
  38. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/caltechdata/login.py +0 -0
  39. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/catalog/__init__.py +0 -0
  40. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/catalog/catalog.py +0 -0
  41. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/catalog/create.py +0 -0
  42. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/catalog/description.py +0 -0
  43. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/handlers.py +0 -0
  44. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/horizons/__init__.py +0 -0
  45. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/horizons/spec_horizons_h5.py +0 -0
  46. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/horizons/xor_multishuffle_bzip2.py +0 -0
  47. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/julia/GWFrames.py +0 -0
  48. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/julia/__init__.py +0 -0
  49. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/juliapkg.json +0 -0
  50. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/metadata/__init__.py +0 -0
  51. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/metadata/metadata.py +0 -0
  52. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/time_series.py +0 -0
  53. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/__init__.py +0 -0
  54. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/bitwise.py +0 -0
  55. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/decimation/__init__.py +0 -0
  56. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/decimation/greedy_spline.py +0 -0
  57. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/decimation/linear_bisection.py +0 -0
  58. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/decimation/peak_greed.py +0 -0
  59. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/decimation/suppression.py +0 -0
  60. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/dicts.py +0 -0
  61. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/downloads.py +0 -0
  62. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/files.py +0 -0
  63. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/formats.py +0 -0
  64. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/inspire.py +0 -0
  65. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/__init__.py +0 -0
  66. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/comparisons.py +0 -0
  67. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/conversion.py +0 -0
  68. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/dataset.py +0 -0
  69. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/horizons.py +0 -0
  70. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/metadata.py +0 -0
  71. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/waveform_amp_phase.py +0 -0
  72. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/lvcnr/waveforms.py +0 -0
  73. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/monotonicity.py +0 -0
  74. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/pretty_print.py +0 -0
  75. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/references/__init__.py +0 -0
  76. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/references/ads.py +0 -0
  77. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/references/arxiv.py +0 -0
  78. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/references/fairchild_report.py +0 -0
  79. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/references/inspire.py +0 -0
  80. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/references/journal_abbreviations.py +0 -0
  81. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/references/references.py +0 -0
  82. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/select.py +0 -0
  83. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/smooth_functions.py +0 -0
  84. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/sxs_directories.py +0 -0
  85. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/sxs_identifiers.py +0 -0
  86. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/utilities/url.py +0 -0
  87. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/__init__.py +0 -0
  88. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/alignment.py +0 -0
  89. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/format_handlers/__init__.py +0 -0
  90. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/format_handlers/lvc.py +0 -0
  91. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/format_handlers/nrar.py +0 -0
  92. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/format_handlers/rotating_paired_diff_multishuffle_bzip2.py +0 -0
  93. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/format_handlers/rotating_paired_xor_multishuffle_bzip2.py +0 -0
  94. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/format_handlers/spectre_cce_v1.py +0 -0
  95. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/memory.py +0 -0
  96. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/mode_utilities.py +0 -0
  97. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/transformations.py +0 -0
  98. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/waveform_grid.py +0 -0
  99. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/waveform_mixin.py +0 -0
  100. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/waveform_modes.py +0 -0
  101. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/waveforms/waveform_signal.py +0 -0
  102. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/__init__.py +0 -0
  103. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/api/__init__.py +0 -0
  104. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/api/deposit.py +0 -0
  105. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/api/login.py +0 -0
  106. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/api/records.py +0 -0
  107. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/catalog.py +0 -0
  108. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/creators.py +0 -0
  109. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/simannex.py +0 -0
  110. {sxs-2023.1.4 → sxs-2023.1.5}/sxs/zenodo/surrogatemodeling.py +0 -0
  111. {sxs-2023.1.4 → sxs-2023.1.5}/tests/__init__.py +0 -0
  112. {sxs-2023.1.4 → sxs-2023.1.5}/tests/conftest.py +0 -0
  113. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_catalog.py +0 -0
  114. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_horizons.py +0 -0
  115. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_loader.py +0 -0
  116. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_metadata.py +0 -0
  117. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_time_series.py +0 -0
  118. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_transformations.py +0 -0
  119. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_utilities.py +0 -0
  120. {sxs-2023.1.4 → sxs-2023.1.5}/tests/test_waveform_rotations.py +0 -0
  121. {sxs-2023.1.4 → sxs-2023.1.5}/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.1.4
14
- date-released: 2024-05-31
13
+ version: 2023.1.5
14
+ date-released: 2024-06-03
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sxs
3
- Version: 2023.1.4
3
+ Version: 2023.1.5
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/
@@ -0,0 +1,60 @@
1
+ # Calling `sxs` from Julia
2
+
3
+ Julia makes it extraordinarily simple to call Python packages from within Julia.
4
+
5
+ !!! note
6
+
7
+ This page describes calling the `sxs` Python package from Julia. Instructions
8
+ for calling Julia components from Python are found elsewhere.
9
+
10
+ ## Optional preliminary step: A new environment
11
+
12
+ Julia also makes it much easier to work with "environments" than
13
+ Python does. If you want to create one from working with `sxs` in
14
+ Julia, just create a new directory, `cd` into it, and run
15
+ ```bash
16
+ julia --project=.
17
+ ```
18
+ This will create a file named `Project.toml` in that directory
19
+ containing this new environment. Every time you need to work with
20
+ this environment, you can tell Julia to use it by adding `--project=`
21
+ followed by the path to that directory. Alternatively, if Julia is already running,
22
+ just hit `]` to enter the package manager, and run
23
+ ```julia
24
+ activate /path/to/new/directory
25
+ ```
26
+
27
+ ## Getting Julia working with Python
28
+
29
+ Once Julia is running (with the project you want), just run
30
+ ```julia
31
+ import Pkg
32
+ Pkg.add(["PythonCall", "CondaPkg"])
33
+ using PythonCall
34
+ import CondaPkg
35
+ CondaPkg.add("numba", channel="numba")
36
+ CondaPkg.add("llvmlite", channel="numba")
37
+ CondaPkg.add("sxs", channel="conda-forge")
38
+ ```
39
+ Once everything is installed, the main difference from Python is that
40
+ you have to import the module as
41
+ ```julia
42
+ sxs = pyimport("sxs")
43
+ ```
44
+ Now, you can call functions from the `sxs` package nearly identically
45
+ to how they are called in Python. For example, the simple call to
46
+ load a waveform from the README of this package is
47
+ ```julia
48
+ waveform = sxs.load("SXS:BBH:0123/Lev/rhOverM", extrapolation_order=2)
49
+ ```
50
+ That exact line works just in Julia like it does in Python. (Note
51
+ that strings must use double quotes in Julia, and Python's `True` and
52
+ `False` are lowercased in Julia.) And accessing members and methods
53
+ of Python objects is just as natural. For example, `waveform.t` and
54
+ `waveform.data` return the same data as in Python.
55
+
56
+ See the [PythonCall
57
+ documentation](https://juliapy.github.io/PythonCall.jl/stable/pythoncall/)
58
+ for more details on how to call Python from Julia, and any conversions
59
+ that may need to be done. Note that `pyconvert(Any, x)` will usually
60
+ convert `x` to its most natural Julia equivalent.
@@ -30,6 +30,7 @@ nav:
30
30
  - "Horizons": "api/horizons.md"
31
31
  - "Waveforms": "api/waveforms.md"
32
32
  - "Calling from Mathematica": "mathematica.md"
33
+ - "Calling from Julia": "julia.md"
33
34
 
34
35
  theme:
35
36
  name: "material" # "readthedocs", "mkdocs", "material"
@@ -63,6 +64,7 @@ extra_javascript:
63
64
  - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js
64
65
 
65
66
  markdown_extensions:
67
+ - admonition
66
68
  - toc:
67
69
  permalink: "#"
68
70
  - pymdownx.arithmatex:
@@ -0,0 +1 @@
1
+ __version__ = "2023.1.5"
@@ -1 +0,0 @@
1
- __version__ = "2023.1.4"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes