fastlisaresponse 1.0.2__cp312-cp312-macosx_10_9_x86_64.whl → 1.0.4__cp312-cp312-macosx_10_9_x86_64.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.
Potentially problematic release.
This version of fastlisaresponse might be problematic. Click here for more details.
- fastlisaresponse/_version.py +1 -1
- fastlisaresponse/cutils/detector.cpython-312-darwin.so +0 -0
- fastlisaresponse/response.py +8 -26
- {fastlisaresponse-1.0.2.dist-info → fastlisaresponse-1.0.4.dist-info}/METADATA +7 -5
- fastlisaresponse-1.0.4.dist-info/RECORD +12 -0
- pyresponse_cpu.cpython-312-darwin.so +0 -0
- fastlisaresponse/cutils/__init__.py +0 -0
- fastlisaresponse-1.0.2.dist-info/RECORD +0 -13
- {fastlisaresponse-1.0.2.dist-info → fastlisaresponse-1.0.4.dist-info}/WHEEL +0 -0
- {fastlisaresponse-1.0.2.dist-info → fastlisaresponse-1.0.4.dist-info}/top_level.txt +0 -0
fastlisaresponse/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.0.
|
|
1
|
+
__version__ = '1.0.4'
|
|
Binary file
|
fastlisaresponse/response.py
CHANGED
|
@@ -18,7 +18,6 @@ except (ImportError, ModuleNotFoundError) as e:
|
|
|
18
18
|
|
|
19
19
|
gpu = False
|
|
20
20
|
|
|
21
|
-
from .cutils.detector import pycppdetector as pycppdetector_here
|
|
22
21
|
from pyresponse_cpu import get_response_wrap as get_response_wrap_cpu
|
|
23
22
|
from pyresponse_cpu import get_tdi_delays_wrap as get_tdi_delays_wrap_cpu
|
|
24
23
|
import time
|
|
@@ -57,7 +56,7 @@ class pyResponseTDI(object):
|
|
|
57
56
|
the response for these orbits numerically. This includes both the projection
|
|
58
57
|
of the gravitational waves onto the LISA constellation arms and combinations \
|
|
59
58
|
of projections into TDI observables. The methods and maths used can be found
|
|
60
|
-
|
|
59
|
+
[here](https://arxiv.org/abs/2204.06633).
|
|
61
60
|
|
|
62
61
|
This class is also GPU-accelerated, which is very helpful for Bayesian inference
|
|
63
62
|
methods.
|
|
@@ -65,12 +64,6 @@ class pyResponseTDI(object):
|
|
|
65
64
|
Args:
|
|
66
65
|
sampling_frequency (double): The sampling rate in Hz.
|
|
67
66
|
num_pts (int): Number of points to produce for the final output template.
|
|
68
|
-
orbit_kwargs (dict): Dictionary containing orbital information. The kwargs and defaults
|
|
69
|
-
are: :code:`orbit_module=None, order=0, max_t_orbits=3.15576e7, orbit_file=None`.
|
|
70
|
-
:code:`orbit_module` is an orbit module from the LDC package. :code:`max_t_orbits` is
|
|
71
|
-
the maximum time desired for the orbital information. `orbit_file` is
|
|
72
|
-
an h5 file of the form used `here <https://gitlab.in2p3.fr/lisa-simulation/orbits>`_.
|
|
73
|
-
:code:`order` is the order of interpolation used in the orbit modules.
|
|
74
67
|
order (int, optional): Order of Lagrangian interpolation technique. Lower orders
|
|
75
68
|
will be faster. The user must make sure the order is sufficient for the
|
|
76
69
|
waveform being used. (default: 25)
|
|
@@ -84,15 +77,15 @@ class pyResponseTDI(object):
|
|
|
84
77
|
``'sign'`` is the sign in front of the contribution to the TDI observable. It takes the value of `+1` or `-1`.
|
|
85
78
|
``type`` is either ``"delay"`` or ``"advance"``. It is optional and defaults to ``"delay"``.
|
|
86
79
|
(default: ``"1st generation"``)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
frequency domain TDI codes that can handle generic orbits for the projections, but
|
|
91
|
-
assume equal armlength orbits to reduce and simplify the expression for TDI
|
|
92
|
-
computations. (default: :code:`None`, this means the orbits for the projections
|
|
93
|
-
and TDI will be the same and will be built from :code:`orbit_kwargs`)
|
|
80
|
+
orbits (:class:`Orbits`, optional): Orbits class from LISA Analysis Tools. Works with LISA Orbits
|
|
81
|
+
outputs: `lisa-simulation.pages.in2p3.fr/orbits/ <https://lisa-simulation.pages.in2p3.fr/orbits/latest/>`_.
|
|
82
|
+
(default: :class:`EqualArmlengthOrbits`)
|
|
94
83
|
tdi_chan (str, optional): Which TDI channel combination to return. Choices are :code:`'XYZ'`,
|
|
95
84
|
:code:`AET`, or :code:`AE`. (default: :code:`'XYZ'`)
|
|
85
|
+
tdi_orbits (:class:`Orbits`, optional): Set if different orbits from projection.
|
|
86
|
+
Orbits class from LISA Analysis Tools. Works with LISA Orbits
|
|
87
|
+
outputs: `lisa-simulation.pages.in2p3.fr/orbits/ <https://lisa-simulation.pages.in2p3.fr/orbits/latest/>`_.
|
|
88
|
+
(default: :class:`EqualArmlengthOrbits`)
|
|
96
89
|
use_gpu (bool, optional): If True, run code on the GPU. (default: :code:`False`)
|
|
97
90
|
|
|
98
91
|
Attributes:
|
|
@@ -119,20 +112,12 @@ class pyResponseTDI(object):
|
|
|
119
112
|
interpolation. This is hard coded to 1001.
|
|
120
113
|
num_channels (int): 3.
|
|
121
114
|
num_pts (int): Number of points to produce for the final output template.
|
|
122
|
-
num_tdi_combinations (int): Number of independent arm computations.
|
|
123
|
-
num_tdi_delay_comps (int): Number of independent arm computations that require delays.
|
|
124
|
-
orbits_store (dict): Contains orbital information for the projection and TDI
|
|
125
|
-
steps.
|
|
126
115
|
order (int): Order of Lagrangian interpolation technique.
|
|
127
116
|
response_gen (func): Projection generator function.
|
|
128
117
|
sampling_frequency (double): The sampling rate in Hz.
|
|
129
118
|
tdi (str or list): TDI setup.
|
|
130
119
|
tdi_buffer (int): The buffer necessary for all information needed at early times
|
|
131
120
|
for the TDI computation. This is set to 200.
|
|
132
|
-
tdi_chan (str): Which TDI channel combination to return.
|
|
133
|
-
tdi_delays (xp.ndarray): TDI delays.
|
|
134
|
-
tdi_gen (func): TDI generating function.
|
|
135
|
-
tdi_signs (xp.ndarray): Signs applied to the addition of a delayed link. (+1 or -1)
|
|
136
121
|
use_gpu (bool): If True, run on GPU.
|
|
137
122
|
xp (obj): Either Numpy or Cupy.
|
|
138
123
|
|
|
@@ -216,8 +201,6 @@ class pyResponseTDI(object):
|
|
|
216
201
|
|
|
217
202
|
assert isinstance(orbits, Orbits)
|
|
218
203
|
|
|
219
|
-
orbits.pycppdetector_base = pycppdetector_here
|
|
220
|
-
|
|
221
204
|
self._response_orbits = deepcopy(orbits)
|
|
222
205
|
|
|
223
206
|
if not self._response_orbits.configured:
|
|
@@ -237,7 +220,6 @@ class pyResponseTDI(object):
|
|
|
237
220
|
|
|
238
221
|
assert isinstance(orbits, Orbits)
|
|
239
222
|
|
|
240
|
-
orbits.pycppdetector_base = pycppdetector_here
|
|
241
223
|
self._tdi_orbits = deepcopy(orbits)
|
|
242
224
|
|
|
243
225
|
if not self._tdi_orbits.configured:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastlisaresponse
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Home-page: https://github.com/mikekatz04/lisa-on-gpu
|
|
5
5
|
Author: Michael Katz
|
|
6
6
|
Author-email: mikekatz04@gmail.com
|
|
@@ -10,8 +10,8 @@ Classifier: Environment :: GPU :: NVIDIA CUDA
|
|
|
10
10
|
Classifier: Natural Language :: English
|
|
11
11
|
Classifier: Programming Language :: C++
|
|
12
12
|
Classifier: Programming Language :: Cython
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.
|
|
14
|
-
Requires-Python: >=3.
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Requires-Python: >=3.12
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
|
|
17
17
|
# fastlisaresponse: Generic LISA response function for GPUs
|
|
@@ -20,7 +20,9 @@ This code base provides a GPU-accelerated version of the generic time-domain LIS
|
|
|
20
20
|
|
|
21
21
|
Please see the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) for further information on these modules. The code can be found on Github [here](https://github.com/mikekatz04/lisa-on-gpu). It can be found on # TODO fix [Zenodo](https://zenodo.org/record/3981654#.XzS_KRNKjlw).
|
|
22
22
|
|
|
23
|
-
If you use all or any parts of this code, please cite (
|
|
23
|
+
If you use all or any parts of this code, please cite [arXiv:2204.06633](https://arxiv.org/abs/2204.06633). See the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) to properly cite specific modules.
|
|
24
|
+
|
|
25
|
+
**Warning**: newest version (1.0.4) of code with `lisatools` orbits needs detailed testing before deployed for a paper.
|
|
24
26
|
|
|
25
27
|
## Getting Started
|
|
26
28
|
|
|
@@ -114,7 +116,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
114
116
|
|
|
115
117
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/mikekatz04/lisa-on-gpu/tags).
|
|
116
118
|
|
|
117
|
-
Current Version: 1.0.
|
|
119
|
+
Current Version: 1.0.4
|
|
118
120
|
|
|
119
121
|
## Authors
|
|
120
122
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
pyresponse_cpu.cpython-312-darwin.so,sha256=GHg6L719XKyia88di9NLlOD28HEpddvZlhGKZ48QXv0,91584
|
|
2
|
+
fastlisaresponse/__init__.py,sha256=wwmiIBy9IuFwoc4jQyJVkJBhjB8B1XZjerTe_E8FkI8,53
|
|
3
|
+
fastlisaresponse/_version.py,sha256=Oi2b5pm3sFbESQW0xgj8kqwDPX_Hxmx4gNILYpLzYqI,21
|
|
4
|
+
fastlisaresponse/pointer_adjust.py,sha256=TjcSehyffLxwgJnrAmcFlPvxXb3XPElMoHXLBOQN-PI,736
|
|
5
|
+
fastlisaresponse/response.py,sha256=3t_orbg4XIo5pgQ1YSyXacx3HIzV-Zd_5jbaYgG3qRw,28228
|
|
6
|
+
fastlisaresponse/cutils/detector.cpython-312-darwin.so,sha256=jC7Tptn_1mZtkfkDGh1htxhbZd5JdamfjEbKejo9FHo,121952
|
|
7
|
+
fastlisaresponse/utils/__init__.py,sha256=pf2NmWKs_uQNzlyA5iNO1gTRDISKNmIIsvOcKqQ3hgw,33
|
|
8
|
+
fastlisaresponse/utils/utility.py,sha256=uhu827ZNwMHfccD9aLRNG_yIwcfK5a3aaAJ7RSRAun4,2684
|
|
9
|
+
fastlisaresponse-1.0.4.dist-info/METADATA,sha256=pThAUvHPXy1N_6qmMphW1-1ZOZ8065MxDpyFoL9RjBM,5350
|
|
10
|
+
fastlisaresponse-1.0.4.dist-info/WHEEL,sha256=KYtn_mzb_QwZSHwPlosUO3fDl70znfUFngLlrLVHeBY,111
|
|
11
|
+
fastlisaresponse-1.0.4.dist-info/top_level.txt,sha256=xbAh3KhbfqEkGUbhVISA5j-Qx62Bwy7szKCZGg5WZWA,32
|
|
12
|
+
fastlisaresponse-1.0.4.dist-info/RECORD,,
|
|
Binary file
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
pyresponse_cpu.cpython-312-darwin.so,sha256=HzhXgvA5Pv9syEyDoQmFz3J2Cj_8U14n7vO7THMUjfo,91632
|
|
2
|
-
fastlisaresponse/__init__.py,sha256=wwmiIBy9IuFwoc4jQyJVkJBhjB8B1XZjerTe_E8FkI8,53
|
|
3
|
-
fastlisaresponse/_version.py,sha256=C8nyPP5-54GgYCcP38Lbel_pRimOW-Ra4bw6Vzp2lmE,21
|
|
4
|
-
fastlisaresponse/pointer_adjust.py,sha256=TjcSehyffLxwgJnrAmcFlPvxXb3XPElMoHXLBOQN-PI,736
|
|
5
|
-
fastlisaresponse/response.py,sha256=5czptGR1lYmQtdzD1nuvnCXPl7tAgCwBbUiVg1YMOnc,29507
|
|
6
|
-
fastlisaresponse/cutils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
fastlisaresponse/cutils/detector.cpython-312-darwin.so,sha256=06Bqus2cisiftaDe4eAvNXjBbYVJ7WsbkYz8b7xg0xw,122000
|
|
8
|
-
fastlisaresponse/utils/__init__.py,sha256=pf2NmWKs_uQNzlyA5iNO1gTRDISKNmIIsvOcKqQ3hgw,33
|
|
9
|
-
fastlisaresponse/utils/utility.py,sha256=uhu827ZNwMHfccD9aLRNG_yIwcfK5a3aaAJ7RSRAun4,2684
|
|
10
|
-
fastlisaresponse-1.0.2.dist-info/METADATA,sha256=Ix8TMUO6Ia8-RmIFAkUAcJucb1mtrcSPgmKiUjpL39E,5191
|
|
11
|
-
fastlisaresponse-1.0.2.dist-info/WHEEL,sha256=KYtn_mzb_QwZSHwPlosUO3fDl70znfUFngLlrLVHeBY,111
|
|
12
|
-
fastlisaresponse-1.0.2.dist-info/top_level.txt,sha256=xbAh3KhbfqEkGUbhVISA5j-Qx62Bwy7szKCZGg5WZWA,32
|
|
13
|
-
fastlisaresponse-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|