lisaanalysistools 1.0.6__cp312-cp312-macosx_10_9_x86_64.whl → 1.0.7__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 lisaanalysistools might be problematic. Click here for more details.
- {lisaanalysistools-1.0.6.dist-info → lisaanalysistools-1.0.7.dist-info}/METADATA +2 -2
- {lisaanalysistools-1.0.6.dist-info → lisaanalysistools-1.0.7.dist-info}/RECORD +13 -13
- lisatools/_version.py +1 -1
- lisatools/datacontainer.py +1 -0
- lisatools/detector.py +2 -1
- lisatools/diagnostic.py +4 -4
- lisatools/sensitivity.py +1 -0
- lisatools/sources/emri/tdiwaveform.py +3 -2
- lisatools/stochastic.py +1 -0
- lisatools/utils/utility.py +2 -3
- {lisaanalysistools-1.0.6.dist-info → lisaanalysistools-1.0.7.dist-info}/LICENSE +0 -0
- {lisaanalysistools-1.0.6.dist-info → lisaanalysistools-1.0.7.dist-info}/WHEEL +0 -0
- {lisaanalysistools-1.0.6.dist-info → lisaanalysistools-1.0.7.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lisaanalysistools
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.7
|
|
4
4
|
Home-page: https://github.com/mikekatz04/LISAanalysistools
|
|
5
5
|
Author: Michael Katz
|
|
6
6
|
Author-email: mikekatz04@gmail.com
|
|
@@ -66,7 +66,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
66
66
|
|
|
67
67
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/mikekatz04/LISAanalysistools/tags).
|
|
68
68
|
|
|
69
|
-
Current Version: 1.0.
|
|
69
|
+
Current Version: 1.0.7
|
|
70
70
|
|
|
71
71
|
## Authors/Developers
|
|
72
72
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
lisatools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
lisatools/_version.py,sha256
|
|
2
|
+
lisatools/_version.py,sha256=-zmsQRMbGGNv3OHlChLFgB4Mm3Z4ucN7sI_XyxEnGhw,123
|
|
3
3
|
lisatools/analysiscontainer.py,sha256=ePwTBUTEBJn2TK93_afARate9SAqUKK8c8T6DcGUx1Y,15321
|
|
4
|
-
lisatools/datacontainer.py,sha256=
|
|
5
|
-
lisatools/detector.py,sha256=
|
|
6
|
-
lisatools/diagnostic.py,sha256=
|
|
7
|
-
lisatools/sensitivity.py,sha256=
|
|
8
|
-
lisatools/stochastic.py,sha256=
|
|
4
|
+
lisatools/datacontainer.py,sha256=hzdTsAsYGhVCjTUG4BFJ0mjO4kCJuQI3oLT5YaSz4ZM,9844
|
|
5
|
+
lisatools/detector.py,sha256=KSyE-9fRhf1aXZDiYJV5qC5jIOtnZ6oaRM9Jg5IRIpQ,15344
|
|
6
|
+
lisatools/diagnostic.py,sha256=fLaQi_xtugnlAWifgYKHWF1wx0pk1yJXW2achO_UedM,34158
|
|
7
|
+
lisatools/sensitivity.py,sha256=HkXAWIbJ-X52av1sz4dnmurUcUU4HUC3G3718G7QktM,27332
|
|
8
|
+
lisatools/stochastic.py,sha256=CysAQ5BIVD349fLjAMpZAXaT0X0dFjrd4QFi0vfqops,9458
|
|
9
9
|
lisatools/cutils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
lisatools/cutils/detector_cpu.cpython-312-darwin.so,sha256=QQFxyuqx9L7HciApuIiw2tLkh-7Qqs4PRkiOWkqcClM,126912
|
|
11
11
|
lisatools/cutils/include/Detector.hpp,sha256=dzdo8QUrrcAnfrTyytlZkQrYmVk_QWXXTL68p4COpZ8,1926
|
|
@@ -24,13 +24,13 @@ lisatools/sampling/moves/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
24
24
|
lisatools/sampling/moves/skymodehop.py,sha256=0nf72eFhFMGwi0dLJci6XZz-bIMGqco2B2_J72hQvf8,3348
|
|
25
25
|
lisatools/sources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
26
|
lisatools/sources/emri/__init__.py,sha256=HjsWS4mjog_gRE4N90My6ahLKQGjNwrHIeA40R7qzw0,41
|
|
27
|
-
lisatools/sources/emri/tdiwaveform.py,sha256=
|
|
27
|
+
lisatools/sources/emri/tdiwaveform.py,sha256=tPbPAARKD-gscy8C5C5uqVor5YoWdP1ZApErhfg2KYc,2334
|
|
28
28
|
lisatools/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
lisatools/utils/constants.py,sha256=r1kVwkpbZS13JTOxj2iRxT5sMgTYX30y-S0JdVmD5Oo,1354
|
|
30
30
|
lisatools/utils/pointeradjust.py,sha256=2sT-7qeYWr1pd_sHk9leVHUTSJ7jJgYIRoWQOtYqguE,2995
|
|
31
|
-
lisatools/utils/utility.py,sha256=
|
|
32
|
-
lisaanalysistools-1.0.
|
|
33
|
-
lisaanalysistools-1.0.
|
|
34
|
-
lisaanalysistools-1.0.
|
|
35
|
-
lisaanalysistools-1.0.
|
|
36
|
-
lisaanalysistools-1.0.
|
|
31
|
+
lisatools/utils/utility.py,sha256=MKqRsG8qRI1xCsj51mt6QRa80-deUUgedxibyMV3KD4,6776
|
|
32
|
+
lisaanalysistools-1.0.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
33
|
+
lisaanalysistools-1.0.7.dist-info/METADATA,sha256=Y9xZqm2Wkx-6thoi1pW4QYMh7ilsgwzN91MlP28h7W0,4109
|
|
34
|
+
lisaanalysistools-1.0.7.dist-info/WHEEL,sha256=wTFHiv6xiwExbw_CBGcw1b3hAKzFq_QaWIv4Plh5P0w,110
|
|
35
|
+
lisaanalysistools-1.0.7.dist-info/top_level.txt,sha256=qXUn8Xi8yvK0vr3QH0vvT5cmoccjSj-UPeKGLAxdYGo,10
|
|
36
|
+
lisaanalysistools-1.0.7.dist-info/RECORD,,
|
lisatools/_version.py
CHANGED
lisatools/datacontainer.py
CHANGED
lisatools/detector.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
1
2
|
import os
|
|
2
3
|
from abc import ABC, abstractmethod
|
|
3
4
|
from typing import Any, List, Tuple, Optional
|
|
@@ -14,7 +15,7 @@ try:
|
|
|
14
15
|
from lisatools.cutils.detector_gpu import pycppDetector as pycppDetector_gpu
|
|
15
16
|
|
|
16
17
|
except (ImportError, ModuleNotFoundError) as e:
|
|
17
|
-
|
|
18
|
+
pycppDetector_gpu = None # for doc string purposes
|
|
18
19
|
|
|
19
20
|
import h5py
|
|
20
21
|
from scipy import interpolate
|
lisatools/diagnostic.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
1
2
|
import warnings
|
|
2
|
-
from types import ModuleType, NoneType
|
|
3
3
|
from typing import Optional, Any, Tuple, List
|
|
4
4
|
|
|
5
5
|
import matplotlib.pyplot as plt
|
|
@@ -27,7 +27,7 @@ def inner_product(
|
|
|
27
27
|
dt: Optional[float] = None,
|
|
28
28
|
df: Optional[float] = None,
|
|
29
29
|
f_arr: Optional[float] = None,
|
|
30
|
-
psd: Optional[str |
|
|
30
|
+
psd: Optional[str | None | np.ndarray | SensitivityMatrix] = "LISASens",
|
|
31
31
|
psd_args: Optional[tuple] = (),
|
|
32
32
|
psd_kwargs: Optional[dict] = {},
|
|
33
33
|
normalize: Optional[bool | str] = False,
|
|
@@ -243,7 +243,7 @@ def noise_likelihood_term(psd: SensitivityMatrix) -> float:
|
|
|
243
243
|
|
|
244
244
|
def residual_full_source_and_noise_likelihood(
|
|
245
245
|
data_res_arr: DataResidualArray,
|
|
246
|
-
psd: str |
|
|
246
|
+
psd: str | None | np.ndarray | SensitivityMatrix,
|
|
247
247
|
**kwargs: dict,
|
|
248
248
|
) -> float | complex:
|
|
249
249
|
"""Calculate the full Likelihood including noise and source terms.
|
|
@@ -306,7 +306,7 @@ def data_signal_source_likelihood_term(
|
|
|
306
306
|
def data_signal_full_source_and_noise_likelihood(
|
|
307
307
|
data_arr: DataResidualArray,
|
|
308
308
|
sig_arr: DataResidualArray,
|
|
309
|
-
psd: str |
|
|
309
|
+
psd: str | None | np.ndarray | SensitivityMatrix,
|
|
310
310
|
**kwargs: dict,
|
|
311
311
|
) -> float | complex:
|
|
312
312
|
"""Calculate the full Likelihood including noise and source terms.
|
lisatools/sensitivity.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
1
2
|
from lisatools.detector import EqualArmlengthOrbits
|
|
2
3
|
import numpy as np
|
|
3
4
|
from typing import Optional, Any
|
|
@@ -49,7 +50,7 @@ class EMRITDIWaveform(ResponseWrapper):
|
|
|
49
50
|
gen_wave = GenerateEMRIWaveform(
|
|
50
51
|
*emri_waveform_args,
|
|
51
52
|
sum_kwargs=dict(pad_output=True),
|
|
52
|
-
**emri_waveform_kwargs
|
|
53
|
+
**emri_waveform_kwargs,
|
|
53
54
|
)
|
|
54
55
|
|
|
55
56
|
response_kwargs_in = deepcopy(response_kwargs)
|
|
@@ -64,7 +65,7 @@ class EMRITDIWaveform(ResponseWrapper):
|
|
|
64
65
|
remove_sky_coords=False,
|
|
65
66
|
is_ecliptic_latitude=False,
|
|
66
67
|
remove_garbage=True, # removes the beginning of the signal that has bad information
|
|
67
|
-
**response_kwargs_in
|
|
68
|
+
**response_kwargs_in,
|
|
68
69
|
)
|
|
69
70
|
|
|
70
71
|
def __call__(self, *args: Any, **kwargs: Any) -> Any:
|
lisatools/stochastic.py
CHANGED
lisatools/utils/utility.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
from
|
|
2
|
-
from types import ModuleType, NoneType
|
|
1
|
+
from __future__ import annotations
|
|
3
2
|
from typing import Tuple
|
|
4
3
|
import numpy as np
|
|
5
4
|
|
|
@@ -14,7 +13,7 @@ except (ModuleNotFoundError, ImportError):
|
|
|
14
13
|
pass
|
|
15
14
|
|
|
16
15
|
|
|
17
|
-
def get_array_module(arr: np.ndarray | cp.ndarray) ->
|
|
16
|
+
def get_array_module(arr: np.ndarray | cp.ndarray) -> object:
|
|
18
17
|
"""Return array library of an array (np/cp).
|
|
19
18
|
|
|
20
19
|
Args:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|