fastlisaresponse 1.1.6__cp312-cp312-macosx_13_0_x86_64.whl → 1.1.9__cp312-cp312-macosx_13_0_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/__init__.py +31 -1
- fastlisaresponse/_version.py +2 -2
- fastlisaresponse/git_version.py +2 -2
- fastlisaresponse/response.py +8 -4
- {fastlisaresponse-1.1.6.dist-info → fastlisaresponse-1.1.9.dist-info}/METADATA +2 -2
- {fastlisaresponse-1.1.6.dist-info → fastlisaresponse-1.1.9.dist-info}/RECORD +8 -8
- fastlisaresponse_backend_cpu/git_version.py +2 -2
- {fastlisaresponse-1.1.6.dist-info → fastlisaresponse-1.1.9.dist-info}/WHEEL +0 -0
fastlisaresponse/__init__.py
CHANGED
|
@@ -44,10 +44,40 @@ add_backends = {
|
|
|
44
44
|
Globals().backends_manager.add_backends(add_backends)
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
|
|
48
|
+
from gpubackendtools import get_backend as _get_backend
|
|
49
|
+
from gpubackendtools import has_backend as _has_backend
|
|
50
|
+
from gpubackendtools import get_first_backend as _get_first_backend
|
|
51
|
+
from gpubackendtools.gpubackendtools import Backend
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def get_backend(backend: str) -> Backend:
|
|
55
|
+
__doc__ = _get_backend.__doc__
|
|
56
|
+
if "fastlisaresponse_" not in backend:
|
|
57
|
+
return _get_backend("fastlisaresponse_" + backend)
|
|
58
|
+
else:
|
|
59
|
+
return _get_backend(backend)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def has_backend(backend: str) -> Backend:
|
|
63
|
+
__doc__ = _has_backend.__doc__
|
|
64
|
+
if "fastlisaresponse_" not in backend:
|
|
65
|
+
return _has_backend("fastlisaresponse_" + backend)
|
|
66
|
+
else:
|
|
67
|
+
return _has_backend(backend)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def get_first_backend(backend: str) -> Backend:
|
|
71
|
+
__doc__ = _get_first_backend.__doc__
|
|
72
|
+
if "fastlisaresponse_" not in backend:
|
|
73
|
+
return _get_first_backend("fastlisaresponse_" + backend)
|
|
74
|
+
else:
|
|
75
|
+
return _get_first_backend(backend)
|
|
76
|
+
|
|
48
77
|
|
|
49
78
|
from .response import pyResponseTDI, ResponseWrapper
|
|
50
79
|
|
|
80
|
+
|
|
51
81
|
__all__ = [
|
|
52
82
|
"__version__",
|
|
53
83
|
"__version_tuple__",
|
fastlisaresponse/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (1, 1,
|
|
31
|
+
__version__ = version = '1.1.9'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 1, 9)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
fastlisaresponse/git_version.py
CHANGED
fastlisaresponse/response.py
CHANGED
|
@@ -66,13 +66,13 @@ class pyResponseTDI(FastLISAResponseParallelModule):
|
|
|
66
66
|
``type`` is either ``"delay"`` or ``"advance"``. It is optional and defaults to ``"delay"``.
|
|
67
67
|
(default: ``"1st generation"``)
|
|
68
68
|
orbits (:class:`Orbits`, optional): Orbits class from LISA Analysis Tools. Works with LISA Orbits
|
|
69
|
-
outputs:
|
|
69
|
+
outputs: ``lisa-simulation.pages.in2p3.fr/orbits/``.
|
|
70
70
|
(default: :class:`EqualArmlengthOrbits`)
|
|
71
71
|
tdi_chan (str, optional): Which TDI channel combination to return. Choices are :code:`'XYZ'`,
|
|
72
72
|
:code:`AET`, or :code:`AE`. (default: :code:`'XYZ'`)
|
|
73
73
|
tdi_orbits (:class:`Orbits`, optional): Set if different orbits from projection.
|
|
74
74
|
Orbits class from LISA Analysis Tools. Works with LISA Orbits
|
|
75
|
-
outputs:
|
|
75
|
+
outputs: ``lisa-simulation.pages.in2p3.fr/orbits/``.
|
|
76
76
|
(default: :class:`EqualArmlengthOrbits`)
|
|
77
77
|
force_backend (str, optional): If given, run this class on the requested backend.
|
|
78
78
|
Options are ``"cpu"``, ``"cuda11x"``, ``"cuda12x"``. (default: ``None``)
|
|
@@ -208,7 +208,7 @@ class pyResponseTDI(FastLISAResponseParallelModule):
|
|
|
208
208
|
orbits = EqualArmlengthOrbits()
|
|
209
209
|
|
|
210
210
|
assert isinstance(orbits, Orbits)
|
|
211
|
-
assert orbits.
|
|
211
|
+
assert orbits.backend.name.split("_")[-1] == self.backend.name.split("_")[-1]
|
|
212
212
|
|
|
213
213
|
self._tdi_orbits = deepcopy(orbits)
|
|
214
214
|
|
|
@@ -665,7 +665,7 @@ class ResponseWrapper(FastLISAResponseParallelModule):
|
|
|
665
665
|
if there is an issue matching points between the waveform generator and the response
|
|
666
666
|
model.
|
|
667
667
|
orbits (:class:`Orbits`, optional): Orbits class from LISA Analysis Tools. Works with LISA Orbits
|
|
668
|
-
outputs:
|
|
668
|
+
outputs: ``lisa-simulation.pages.in2p3.fr/orbits/``.
|
|
669
669
|
(default: :class:`EqualArmlengthOrbits`)
|
|
670
670
|
**kwargs (dict, optional): Keyword arguments passed to :class:`pyResponseTDI`.
|
|
671
671
|
|
|
@@ -741,6 +741,10 @@ class ResponseWrapper(FastLISAResponseParallelModule):
|
|
|
741
741
|
return """
|
|
742
742
|
# TODO add
|
|
743
743
|
"""
|
|
744
|
+
|
|
745
|
+
@classmethod
|
|
746
|
+
def supported_backends(cls):
|
|
747
|
+
return ["fastlisaresponse_" + _tmp for _tmp in cls.GPU_RECOMMENDED()]
|
|
744
748
|
|
|
745
749
|
def __call__(self, *args, **kwargs):
|
|
746
750
|
"""Run the waveform and response generation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: fastlisaresponse
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.9
|
|
4
4
|
Summary: GPU-accelerated LISA Response Function
|
|
5
5
|
Author-Email: Michael Katz <mikekatz04@gmail.com>
|
|
6
6
|
Classifier: Environment :: GPU :: NVIDIA CUDA
|
|
@@ -59,7 +59,7 @@ Description-Content-Type: text/markdown
|
|
|
59
59
|
|
|
60
60
|
This code base provides a GPU-accelerated version of the generic time-domain LISA response function. The GPU-acceleration allows this code to be used directly in Parameter Estimation.
|
|
61
61
|
|
|
62
|
-
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 [Zenodo](https://zenodo.org/
|
|
62
|
+
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 [Zenodo](https://zenodo.org/records/17162632).
|
|
63
63
|
|
|
64
64
|
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.
|
|
65
65
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
fastlisaresponse-1.1.
|
|
2
|
-
fastlisaresponse-1.1.
|
|
3
|
-
fastlisaresponse-1.1.
|
|
1
|
+
fastlisaresponse-1.1.9.dist-info/RECORD,,
|
|
2
|
+
fastlisaresponse-1.1.9.dist-info/WHEEL,sha256=UD0xa1msuWp_Iqe6luNfVsIFDMk3AiU_6_IvGlhrGUk,115
|
|
3
|
+
fastlisaresponse-1.1.9.dist-info/METADATA,sha256=qts_F_xUbRHOJqqu181W9ABidtF3UPbZNv1uk5L4a5U,6159
|
|
4
4
|
fastlisaresponse_backend_cpu/responselisa.cpython-312-darwin.so,sha256=OWDa6Zhxrju0ZQR5fqXdFF-LjLcI7iGtVX_DdoUFfnM,164944
|
|
5
|
-
fastlisaresponse_backend_cpu/git_version.py,sha256=
|
|
6
|
-
fastlisaresponse/_version.py,sha256=
|
|
7
|
-
fastlisaresponse/__init__.py,sha256=
|
|
5
|
+
fastlisaresponse_backend_cpu/git_version.py,sha256=j9VWhSTJIp2ThLjIHwOreRGJrGc1oRuj3FOc4osecBY,140
|
|
6
|
+
fastlisaresponse/_version.py,sha256=0cRrOvYaSzTtx-A83tyitxeT0z9gYgIPT4673m7orvo,704
|
|
7
|
+
fastlisaresponse/__init__.py,sha256=lqEQW-_q1ltPycsMvNZ70TgM6hJaOMIjvywWjKUesJ8,2478
|
|
8
8
|
fastlisaresponse/git_version.py.in,sha256=Yt2d-2rBlJCK1XzVzjO81molm1_Nb_6NrYsxGuoCxmc,147
|
|
9
|
-
fastlisaresponse/response.py,sha256=
|
|
10
|
-
fastlisaresponse/git_version.py,sha256=
|
|
9
|
+
fastlisaresponse/response.py,sha256=Z-KBHGjpXZvCNIPfKf2olQcP8sU0UJXVFgy0GH0Sf3I,29163
|
|
10
|
+
fastlisaresponse/git_version.py,sha256=j9VWhSTJIp2ThLjIHwOreRGJrGc1oRuj3FOc4osecBY,140
|
|
11
11
|
fastlisaresponse/cutils/__init__.py,sha256=8t9ZozjqwwNXRwxsdO_EkEJzccgSeSGthisAdX0wf38,4817
|
|
12
12
|
fastlisaresponse/utils/citations.py,sha256=zf79Zb37isbgBmTa9YNZOaYnoOz7tRwHz_MShID_f8E,11150
|
|
13
13
|
fastlisaresponse/utils/parallelbase.py,sha256=Hqkmggnz9Kkae910fz0_KvGLJ8EPIAQ6J_azdgDjlog,379
|
|
File without changes
|