lisaanalysistools 1.1.7__cp310-cp310-macosx_13_0_x86_64.whl → 1.1.8__cp310-cp310-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 lisaanalysistools might be problematic. Click here for more details.
- {lisaanalysistools-1.1.7.dist-info → lisaanalysistools-1.1.8.dist-info}/METADATA +3 -1
- {lisaanalysistools-1.1.7.dist-info → lisaanalysistools-1.1.8.dist-info}/RECORD +7 -7
- lisatools/__init__.py +33 -1
- lisatools/_version.py +2 -2
- lisatools/cutils/__init__.py +11 -8
- {lisaanalysistools-1.1.7.dist-info → lisaanalysistools-1.1.8.dist-info}/WHEEL +0 -0
- {lisaanalysistools-1.1.7.dist-info → lisaanalysistools-1.1.8.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: lisaanalysistools
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.8
|
|
4
4
|
Summary: A package for LISA Data Analysis
|
|
5
5
|
Author-Email: Michael Katz <mikekatz04@gmail.com>
|
|
6
6
|
Classifier: Environment :: GPU :: NVIDIA CUDA
|
|
@@ -43,6 +43,7 @@ Requires-Dist: pypandoc; extra == "doc"
|
|
|
43
43
|
Requires-Dist: sphinx; extra == "doc"
|
|
44
44
|
Requires-Dist: sphinx-rtd-theme; extra == "doc"
|
|
45
45
|
Requires-Dist: sphinx-tippy; extra == "doc"
|
|
46
|
+
Requires-Dist: corner; extra == "doc"
|
|
46
47
|
Provides-Extra: sampling
|
|
47
48
|
Requires-Dist: eryn; extra == "sampling"
|
|
48
49
|
Requires-Dist: fastlisaresponse; extra == "sampling"
|
|
@@ -52,6 +53,7 @@ Provides-Extra: testing
|
|
|
52
53
|
Requires-Dist: matplotlib; extra == "testing"
|
|
53
54
|
Requires-Dist: eryn; extra == "testing"
|
|
54
55
|
Requires-Dist: gbgpu; extra == "testing"
|
|
56
|
+
Requires-Dist: corner; extra == "testing"
|
|
55
57
|
Description-Content-Type: text/markdown
|
|
56
58
|
|
|
57
59
|
# LISA Analysis Tools
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
lisaanalysistools-1.1.8.dist-info/RECORD,,
|
|
2
|
+
lisaanalysistools-1.1.8.dist-info/WHEEL,sha256=yHKsA883OdmpXCdmipWbbWSdectbfcDLleq3W1gP8-c,115
|
|
3
|
+
lisaanalysistools-1.1.8.dist-info/METADATA,sha256=Ek1HWra5BpRVijxniGcdd2Yh_Cah8_ugy2TMyw7EYhs,10673
|
|
4
|
+
lisaanalysistools-1.1.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1
5
|
lisaanalysistools/git_version.py,sha256=rupaoMweI0CHjo635dMJ0oD594fuFzkOqsUYK01B1xw,93
|
|
2
6
|
lisatools/detector.py,sha256=LxxAesyQ_vKX7Vtb8VDsLbXBhFvjMoihTJnfJIqYnCI,21026
|
|
3
7
|
lisatools/datacontainer.py,sha256=ChMXkaVCzxe9n90slN4Ncsh8Sd3lGx9PX5hyNCYXG0E,10069
|
|
4
|
-
lisatools/_version.py,sha256=
|
|
8
|
+
lisatools/_version.py,sha256=Cfx_H3P59Rdertk805_UHOIxCNkJ07smlwr82JJzX0E,704
|
|
5
9
|
lisatools/stochastic.py,sha256=YHtM9Ll02wyqezCJO53L34x3mt_-qs9n9abdXcEap8o,10518
|
|
6
|
-
lisatools/__init__.py,sha256=
|
|
10
|
+
lisatools/__init__.py,sha256=Gbzsa4gaWOfOz7_OrO2xKsJFwy9U7SAmRUnvoGgdMg8,2404
|
|
7
11
|
lisatools/git_version.py.in,sha256=yLNZEc1_MKc0uigMy8ZlNhOZvsqaIHeBd4ogM6LTGNI,141
|
|
8
12
|
lisatools/sensitivity.py,sha256=gn8AMbel2BGg3ELptCSM9b2MmSf_gX39QVQ-TK5d8TY,29658
|
|
9
13
|
lisatools/diagnostic.py,sha256=rm--mBNIEylT2qdJD-b60yfOrzNBTYT1Aki6Ee7KVQ4,34501
|
|
10
14
|
lisatools/analysiscontainer.py,sha256=UQft6SvyDueDtuL1H1auiEzG5IEsFwRiiXf_0DHtu5U,16289
|
|
11
|
-
lisatools/cutils/__init__.py,sha256=
|
|
15
|
+
lisatools/cutils/__init__.py,sha256=XnZusb0zICP-P0ay4ILJe7SLvM5GzvgCCXd0OK--uOs,4403
|
|
12
16
|
lisatools/sampling/utility.py,sha256=R5LKNK0A36L1PzLjCENQjDWcDjsR1oUBQGrR9PqasSA,15482
|
|
13
17
|
lisatools/sampling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
18
|
lisatools/sampling/prior.py,sha256=1K1PMStpwO9WT0qG0aotKSyoNjuehXNbzTDtlk8Q15M,21407
|
|
@@ -38,7 +42,3 @@ lisatools/sources/emri/waveform.py,sha256=M6NFZ2s00SVGL1CuyColcZw2UmE0qraGNh1dKC
|
|
|
38
42
|
lisatools/sources/emri/__init__.py,sha256=3W0kL4bfTtZNm-wM5t6Y0TTjtZMh4fe_qDyZ6a5rLck,38
|
|
39
43
|
lisatools_backend_cpu/pycppdetector.cpython-310-darwin.so,sha256=vuT-mWclHn3xP6xvti2dIbRQrmY07YalMnebB_9ioIs,199712
|
|
40
44
|
lisatools_backend_cpu/git_version.py,sha256=rupaoMweI0CHjo635dMJ0oD594fuFzkOqsUYK01B1xw,93
|
|
41
|
-
lisaanalysistools-1.1.7.dist-info/RECORD,,
|
|
42
|
-
lisaanalysistools-1.1.7.dist-info/WHEEL,sha256=yHKsA883OdmpXCdmipWbbWSdectbfcDLleq3W1gP8-c,115
|
|
43
|
-
lisaanalysistools-1.1.7.dist-info/METADATA,sha256=UG4G7ekzdytSOIZ4Rl52UwcpagkL41QmgezhmkbzDXc,10593
|
|
44
|
-
lisaanalysistools-1.1.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
lisatools/__init__.py
CHANGED
|
@@ -29,7 +29,6 @@ except (ModuleNotFoundError, ImportError):
|
|
|
29
29
|
_is_editable = False
|
|
30
30
|
|
|
31
31
|
from . import cutils, utils
|
|
32
|
-
from .cutils import KNOWN_BACKENDS
|
|
33
32
|
|
|
34
33
|
from gpubackendtools import get_backend, has_backend, get_first_backend
|
|
35
34
|
from gpubackendtools import Globals
|
|
@@ -44,6 +43,37 @@ add_backends = {
|
|
|
44
43
|
|
|
45
44
|
Globals().backends_manager.add_backends(add_backends)
|
|
46
45
|
|
|
46
|
+
Globals().backends_manager.add_backends(add_backends)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
from gpubackendtools import get_backend as _get_backend
|
|
50
|
+
from gpubackendtools import has_backend as _has_backend
|
|
51
|
+
from gpubackendtools import get_first_backend as _get_first_backend
|
|
52
|
+
from gpubackendtools.gpubackendtools import Backend
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def get_backend(backend: str) -> Backend:
|
|
56
|
+
__doc__ = _get_backend.__doc__
|
|
57
|
+
if "lisatools_" not in backend:
|
|
58
|
+
return _get_backend("lisatools_" + backend)
|
|
59
|
+
else:
|
|
60
|
+
return _get_backend(backend)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def has_backend(backend: str) -> Backend:
|
|
64
|
+
__doc__ = _has_backend.__doc__
|
|
65
|
+
if "lisatools_" not in backend:
|
|
66
|
+
return _has_backend("lisatools_" + backend)
|
|
67
|
+
else:
|
|
68
|
+
return _has_backend(backend)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_first_backend(backend: str) -> Backend:
|
|
72
|
+
__doc__ = _get_first_backend.__doc__
|
|
73
|
+
if "lisatools_" not in backend:
|
|
74
|
+
return _get_first_backend("lisatools_" + backend)
|
|
75
|
+
else:
|
|
76
|
+
return _get_first_backend(backend)
|
|
47
77
|
|
|
48
78
|
__all__ = [
|
|
49
79
|
"__version__",
|
|
@@ -55,4 +85,6 @@ __all__ = [
|
|
|
55
85
|
"get_backend",
|
|
56
86
|
"get_file_manager",
|
|
57
87
|
"has_backend",
|
|
88
|
+
"get_backend",
|
|
89
|
+
"get_first_backend",
|
|
58
90
|
]
|
lisatools/_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.8'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 1, 8)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
lisatools/cutils/__init__.py
CHANGED
|
@@ -13,10 +13,12 @@ from gpubackendtools.exceptions import *
|
|
|
13
13
|
@dataclasses.dataclass
|
|
14
14
|
class LISAToolsBackendMethods(BackendMethods):
|
|
15
15
|
pycppDetector: object
|
|
16
|
+
# psd_likelihood: typing.Callable[(...), None]
|
|
16
17
|
|
|
17
18
|
class LISAToolsBackend:
|
|
18
19
|
# TODO: not ClassVar?
|
|
19
20
|
pycppDetector: object
|
|
21
|
+
# psd_likelihood: typing.Callable[(...), None]
|
|
20
22
|
|
|
21
23
|
def __init__(self, lisatools_backend_methods):
|
|
22
24
|
|
|
@@ -24,6 +26,7 @@ class LISAToolsBackend:
|
|
|
24
26
|
# pass rest to general backend
|
|
25
27
|
assert isinstance(lisatools_backend_methods, LISAToolsBackendMethods)
|
|
26
28
|
self.pycppDetector = lisatools_backend_methods.pycppDetector
|
|
29
|
+
# self.psd_likelihood = lisatools_backend_methods.psd_likelihood
|
|
27
30
|
|
|
28
31
|
|
|
29
32
|
class LISAToolsCpuBackend(CpuBackend, LISAToolsBackend):
|
|
@@ -39,6 +42,7 @@ class LISAToolsCpuBackend(CpuBackend, LISAToolsBackend):
|
|
|
39
42
|
def cpu_methods_loader() -> LISAToolsBackendMethods:
|
|
40
43
|
try:
|
|
41
44
|
import lisatools_backend_cpu.pycppdetector
|
|
45
|
+
# import lisatools_backend_cpu.psd
|
|
42
46
|
|
|
43
47
|
except (ModuleNotFoundError, ImportError) as e:
|
|
44
48
|
raise BackendUnavailableException(
|
|
@@ -49,6 +53,7 @@ class LISAToolsCpuBackend(CpuBackend, LISAToolsBackend):
|
|
|
49
53
|
|
|
50
54
|
return LISAToolsBackendMethods(
|
|
51
55
|
pycppDetector=lisatools_backend_cpu.pycppdetector.pycppDetector,
|
|
56
|
+
# psd_likelihood=lisatools_backend_cpu.psd.psd_likelihood,
|
|
52
57
|
xp=numpy,
|
|
53
58
|
)
|
|
54
59
|
|
|
@@ -66,7 +71,8 @@ class LISAToolsCuda11xBackend(Cuda11xBackend, LISAToolsBackend):
|
|
|
66
71
|
@staticmethod
|
|
67
72
|
def cuda11x_module_loader():
|
|
68
73
|
try:
|
|
69
|
-
import lisatools_backend_cuda11x.
|
|
74
|
+
import lisatools_backend_cuda11x.pycppdetector
|
|
75
|
+
import lisatools_backend_cuda11x.psd
|
|
70
76
|
|
|
71
77
|
except (ModuleNotFoundError, ImportError) as e:
|
|
72
78
|
raise BackendUnavailableException(
|
|
@@ -82,6 +88,7 @@ class LISAToolsCuda11xBackend(Cuda11xBackend, LISAToolsBackend):
|
|
|
82
88
|
|
|
83
89
|
return LISAToolsBackendMethods(
|
|
84
90
|
pycppDetector=lisatools_backend_cuda11x.pycppdetector.pycppDetector,
|
|
91
|
+
# psd_likelihood=lisatools_backend_cuda11x.psd.psd_likelihood,
|
|
85
92
|
xp=cupy,
|
|
86
93
|
)
|
|
87
94
|
|
|
@@ -97,7 +104,8 @@ class LISAToolsCuda12xBackend(Cuda12xBackend, LISAToolsBackend):
|
|
|
97
104
|
@staticmethod
|
|
98
105
|
def cuda12x_module_loader():
|
|
99
106
|
try:
|
|
100
|
-
import lisatools_backend_cuda12x.
|
|
107
|
+
import lisatools_backend_cuda12x.pycppdetector
|
|
108
|
+
# import lisatools_backend_cuda12x.psd
|
|
101
109
|
|
|
102
110
|
except (ModuleNotFoundError, ImportError) as e:
|
|
103
111
|
raise BackendUnavailableException(
|
|
@@ -113,14 +121,9 @@ class LISAToolsCuda12xBackend(Cuda12xBackend, LISAToolsBackend):
|
|
|
113
121
|
|
|
114
122
|
return LISAToolsBackendMethods(
|
|
115
123
|
pycppDetector=lisatools_backend_cuda12x.pycppdetector.pycppDetector,
|
|
124
|
+
# psd_likelihood=lisatools_backend_cuda12x.psd.psd_likelihood,
|
|
116
125
|
xp=cupy,
|
|
117
126
|
)
|
|
118
127
|
|
|
119
128
|
|
|
120
|
-
KNOWN_BACKENDS = {
|
|
121
|
-
"cuda12x": LISAToolsCuda12xBackend,
|
|
122
|
-
"cuda11x": LISAToolsCuda11xBackend,
|
|
123
|
-
"cpu": LISAToolsCpuBackend,
|
|
124
|
-
}
|
|
125
|
-
|
|
126
129
|
"""List of existing backends, per default order of preference."""
|
|
File without changes
|
|
File without changes
|