lisaanalysistools 1.0.3__tar.gz → 1.0.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.
Potentially problematic release.
This version of lisaanalysistools might be problematic. Click here for more details.
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5/LISAanalysistools.egg-info}/PKG-INFO +22 -7
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/LISAanalysistools.egg-info/SOURCES.txt +0 -14
- {lisaanalysistools-1.0.3/LISAanalysistools.egg-info → lisaanalysistools-1.0.5}/PKG-INFO +22 -7
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/README.md +21 -6
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/_version.py +1 -1
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/analysiscontainer.py +17 -13
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/datacontainer.py +1 -2
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/detector.py +1 -1
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/diagnostic.py +4 -5
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sampling/prior.py +224 -86
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sensitivity.py +25 -20
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/stochastic.py +2 -3
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/utils/utility.py +9 -3
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/pyproject.toml +1 -1
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/src/pycppdetector.cpp +123 -123
- lisaanalysistools-1.0.3/lisatools/glitch.py +0 -193
- lisaanalysistools-1.0.3/lisatools/sampling/moves/gbgroupstretch.py +0 -53
- lisaanalysistools-1.0.3/lisatools/sampling/moves/gbmultipletryrj.py +0 -1287
- lisaanalysistools-1.0.3/lisatools/sampling/moves/gbspecialgroupstretch.py +0 -671
- lisaanalysistools-1.0.3/lisatools/sampling/moves/gbspecialstretch.py +0 -1836
- lisaanalysistools-1.0.3/lisatools/sampling/moves/mbhspecialmove.py +0 -286
- lisaanalysistools-1.0.3/lisatools/sampling/moves/placeholder.py +0 -16
- lisaanalysistools-1.0.3/lisatools/sampling/moves/specialforegroundmove.py +0 -564
- lisaanalysistools-1.0.3/lisatools/utils/multigpudataholder.py +0 -730
- lisaanalysistools-1.0.3/requirements-data.txt +0 -2
- lisaanalysistools-1.0.3/requirements-demo.txt +0 -1
- lisaanalysistools-1.0.3/requirements-dev.txt +0 -15
- lisaanalysistools-1.0.3/requirements-release.txt +0 -2
- lisaanalysistools-1.0.3/requirements.txt +0 -9
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/CHANGELOG +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/LICENSE +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/LISAanalysistools.egg-info/dependency_links.txt +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/LISAanalysistools.egg-info/not-zip-safe +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/LISAanalysistools.egg-info/top_level.txt +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/MANIFEST.in +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/Makefile +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/include/Detector.hpp +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/__init__.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sampling/__init__.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sampling/likelihood.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sampling/moves/__init__.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sampling/moves/skymodehop.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sampling/stopping.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sampling/utility.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sources/__init__.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sources/emri/__init__.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/sources/emri/tdiwaveform.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/utils/__init__.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/utils/constants.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/lisatools/utils/pointeradjust.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/scripts/data_download.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/scripts/generate-changelog.bash +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/scripts/install-hooks.bash +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/scripts/post-commit.bash +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/scripts/run-tests.bash +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/scripts/to_conda.bash +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/setup.cfg +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/setup.py +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/src/Detector.cpp +0 -0
- {lisaanalysistools-1.0.3 → lisaanalysistools-1.0.5}/src/pycppdetector.pyx +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lisaanalysistools
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Home-page: https://github.com/mikekatz04/lisa-on-gpu
|
|
5
5
|
Author: Michael Katz
|
|
6
6
|
Author-email: mikekatz04@gmail.com
|
|
@@ -18,8 +18,9 @@ License-File: LICENSE
|
|
|
18
18
|
# LISA Analysis Tools
|
|
19
19
|
|
|
20
20
|
[](https://mikekatz04.github.io/LISAanalysistools)
|
|
21
|
+
[](https://doi.org/10.5281/zenodo.10930980)
|
|
21
22
|
|
|
22
|
-
LISA Analysis Tools is a package for performing LISA Data Analysis tasks, including building the LISA Global Fit.
|
|
23
|
+
LISA Analysis Tools is a package for performing LISA Data Analysis tasks, including building the LISA Global Fit.
|
|
23
24
|
|
|
24
25
|
## 1 - Getting Started
|
|
25
26
|
|
|
@@ -59,16 +60,15 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
59
60
|
|
|
60
61
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/BlackHolePerturbationToolkit/FastEMRIWaveforms/tags).
|
|
61
62
|
|
|
62
|
-
Current Version: 1.0.
|
|
63
|
+
Current Version: 1.0.5
|
|
63
64
|
|
|
64
65
|
## Authors/Developers
|
|
65
66
|
|
|
66
67
|
* **Michael Katz**
|
|
67
|
-
|
|
68
|
-
### Contibutors
|
|
69
|
-
|
|
70
68
|
* Lorenzo Speri
|
|
71
69
|
* Christian Chapman-Bird
|
|
70
|
+
* Natalia Korsakova
|
|
71
|
+
* Nikos Karnesis
|
|
72
72
|
|
|
73
73
|
## License
|
|
74
74
|
|
|
@@ -76,5 +76,20 @@ This project is licensed under the Apache License - see the [LICENSE.md](LICENSE
|
|
|
76
76
|
|
|
77
77
|
## Citation
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
```
|
|
80
|
+
@software{michael_katz_2024_10930980,
|
|
81
|
+
author = {Michael Katz and
|
|
82
|
+
CChapmanbird and
|
|
83
|
+
Lorenzo Speri and
|
|
84
|
+
Nikolaos Karnesis and
|
|
85
|
+
Korsakova, Natalia},
|
|
86
|
+
title = {mikekatz04/LISAanalysistools: First main release.},
|
|
87
|
+
month = apr,
|
|
88
|
+
year = 2024,
|
|
89
|
+
publisher = {Zenodo},
|
|
90
|
+
version = {v1.0.3},
|
|
91
|
+
doi = {10.5281/zenodo.10930980},
|
|
92
|
+
url = {https://doi.org/10.5281/zenodo.10930980}
|
|
93
|
+
}
|
|
94
|
+
```
|
|
80
95
|
|
|
@@ -4,11 +4,6 @@ MANIFEST.in
|
|
|
4
4
|
Makefile
|
|
5
5
|
README.md
|
|
6
6
|
pyproject.toml
|
|
7
|
-
requirements-data.txt
|
|
8
|
-
requirements-demo.txt
|
|
9
|
-
requirements-dev.txt
|
|
10
|
-
requirements-release.txt
|
|
11
|
-
requirements.txt
|
|
12
7
|
setup.py
|
|
13
8
|
LISAanalysistools.egg-info/PKG-INFO
|
|
14
9
|
LISAanalysistools.egg-info/SOURCES.txt
|
|
@@ -26,7 +21,6 @@ lisatools/analysiscontainer.py
|
|
|
26
21
|
lisatools/datacontainer.py
|
|
27
22
|
lisatools/detector.py
|
|
28
23
|
lisatools/diagnostic.py
|
|
29
|
-
lisatools/glitch.py
|
|
30
24
|
lisatools/sensitivity.py
|
|
31
25
|
lisatools/stochastic.py
|
|
32
26
|
lisatools/sampling/__init__.py
|
|
@@ -35,20 +29,12 @@ lisatools/sampling/prior.py
|
|
|
35
29
|
lisatools/sampling/stopping.py
|
|
36
30
|
lisatools/sampling/utility.py
|
|
37
31
|
lisatools/sampling/moves/__init__.py
|
|
38
|
-
lisatools/sampling/moves/gbgroupstretch.py
|
|
39
|
-
lisatools/sampling/moves/gbmultipletryrj.py
|
|
40
|
-
lisatools/sampling/moves/gbspecialgroupstretch.py
|
|
41
|
-
lisatools/sampling/moves/gbspecialstretch.py
|
|
42
|
-
lisatools/sampling/moves/mbhspecialmove.py
|
|
43
|
-
lisatools/sampling/moves/placeholder.py
|
|
44
32
|
lisatools/sampling/moves/skymodehop.py
|
|
45
|
-
lisatools/sampling/moves/specialforegroundmove.py
|
|
46
33
|
lisatools/sources/__init__.py
|
|
47
34
|
lisatools/sources/emri/__init__.py
|
|
48
35
|
lisatools/sources/emri/tdiwaveform.py
|
|
49
36
|
lisatools/utils/__init__.py
|
|
50
37
|
lisatools/utils/constants.py
|
|
51
|
-
lisatools/utils/multigpudataholder.py
|
|
52
38
|
lisatools/utils/pointeradjust.py
|
|
53
39
|
lisatools/utils/utility.py
|
|
54
40
|
scripts/data_download.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lisaanalysistools
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Home-page: https://github.com/mikekatz04/lisa-on-gpu
|
|
5
5
|
Author: Michael Katz
|
|
6
6
|
Author-email: mikekatz04@gmail.com
|
|
@@ -18,8 +18,9 @@ License-File: LICENSE
|
|
|
18
18
|
# LISA Analysis Tools
|
|
19
19
|
|
|
20
20
|
[](https://mikekatz04.github.io/LISAanalysistools)
|
|
21
|
+
[](https://doi.org/10.5281/zenodo.10930980)
|
|
21
22
|
|
|
22
|
-
LISA Analysis Tools is a package for performing LISA Data Analysis tasks, including building the LISA Global Fit.
|
|
23
|
+
LISA Analysis Tools is a package for performing LISA Data Analysis tasks, including building the LISA Global Fit.
|
|
23
24
|
|
|
24
25
|
## 1 - Getting Started
|
|
25
26
|
|
|
@@ -59,16 +60,15 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
59
60
|
|
|
60
61
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/BlackHolePerturbationToolkit/FastEMRIWaveforms/tags).
|
|
61
62
|
|
|
62
|
-
Current Version: 1.0.
|
|
63
|
+
Current Version: 1.0.5
|
|
63
64
|
|
|
64
65
|
## Authors/Developers
|
|
65
66
|
|
|
66
67
|
* **Michael Katz**
|
|
67
|
-
|
|
68
|
-
### Contibutors
|
|
69
|
-
|
|
70
68
|
* Lorenzo Speri
|
|
71
69
|
* Christian Chapman-Bird
|
|
70
|
+
* Natalia Korsakova
|
|
71
|
+
* Nikos Karnesis
|
|
72
72
|
|
|
73
73
|
## License
|
|
74
74
|
|
|
@@ -76,5 +76,20 @@ This project is licensed under the Apache License - see the [LICENSE.md](LICENSE
|
|
|
76
76
|
|
|
77
77
|
## Citation
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
```
|
|
80
|
+
@software{michael_katz_2024_10930980,
|
|
81
|
+
author = {Michael Katz and
|
|
82
|
+
CChapmanbird and
|
|
83
|
+
Lorenzo Speri and
|
|
84
|
+
Nikolaos Karnesis and
|
|
85
|
+
Korsakova, Natalia},
|
|
86
|
+
title = {mikekatz04/LISAanalysistools: First main release.},
|
|
87
|
+
month = apr,
|
|
88
|
+
year = 2024,
|
|
89
|
+
publisher = {Zenodo},
|
|
90
|
+
version = {v1.0.3},
|
|
91
|
+
doi = {10.5281/zenodo.10930980},
|
|
92
|
+
url = {https://doi.org/10.5281/zenodo.10930980}
|
|
93
|
+
}
|
|
94
|
+
```
|
|
80
95
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# LISA Analysis Tools
|
|
2
2
|
|
|
3
3
|
[](https://mikekatz04.github.io/LISAanalysistools)
|
|
4
|
+
[](https://doi.org/10.5281/zenodo.10930980)
|
|
4
5
|
|
|
5
|
-
LISA Analysis Tools is a package for performing LISA Data Analysis tasks, including building the LISA Global Fit.
|
|
6
|
+
LISA Analysis Tools is a package for performing LISA Data Analysis tasks, including building the LISA Global Fit.
|
|
6
7
|
|
|
7
8
|
## 1 - Getting Started
|
|
8
9
|
|
|
@@ -42,16 +43,15 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
42
43
|
|
|
43
44
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/BlackHolePerturbationToolkit/FastEMRIWaveforms/tags).
|
|
44
45
|
|
|
45
|
-
Current Version: 1.0.
|
|
46
|
+
Current Version: 1.0.5
|
|
46
47
|
|
|
47
48
|
## Authors/Developers
|
|
48
49
|
|
|
49
50
|
* **Michael Katz**
|
|
50
|
-
|
|
51
|
-
### Contibutors
|
|
52
|
-
|
|
53
51
|
* Lorenzo Speri
|
|
54
52
|
* Christian Chapman-Bird
|
|
53
|
+
* Natalia Korsakova
|
|
54
|
+
* Nikos Karnesis
|
|
55
55
|
|
|
56
56
|
## License
|
|
57
57
|
|
|
@@ -59,5 +59,20 @@ This project is licensed under the Apache License - see the [LICENSE.md](LICENSE
|
|
|
59
59
|
|
|
60
60
|
## Citation
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
```
|
|
63
|
+
@software{michael_katz_2024_10930980,
|
|
64
|
+
author = {Michael Katz and
|
|
65
|
+
CChapmanbird and
|
|
66
|
+
Lorenzo Speri and
|
|
67
|
+
Nikolaos Karnesis and
|
|
68
|
+
Korsakova, Natalia},
|
|
69
|
+
title = {mikekatz04/LISAanalysistools: First main release.},
|
|
70
|
+
month = apr,
|
|
71
|
+
year = 2024,
|
|
72
|
+
publisher = {Zenodo},
|
|
73
|
+
version = {v1.0.3},
|
|
74
|
+
doi = {10.5281/zenodo.10930980},
|
|
75
|
+
url = {https://doi.org/10.5281/zenodo.10930980}
|
|
76
|
+
}
|
|
77
|
+
```
|
|
63
78
|
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
|
|
1
4
|
import warnings
|
|
2
5
|
from abc import ABC
|
|
3
6
|
from typing import Any, Tuple, Optional, List
|
|
4
7
|
|
|
5
8
|
import math
|
|
6
9
|
import numpy as np
|
|
7
|
-
|
|
10
|
+
|
|
8
11
|
from scipy import interpolate
|
|
9
12
|
import matplotlib.pyplot as plt
|
|
10
13
|
|
|
14
|
+
|
|
11
15
|
try:
|
|
12
16
|
import cupy as cp
|
|
13
17
|
|
|
@@ -209,7 +213,7 @@ class AnalysisContainer:
|
|
|
209
213
|
template: DataResidualArray,
|
|
210
214
|
include_psd_info: bool = False,
|
|
211
215
|
phase_maximize: bool = False,
|
|
212
|
-
**kwargs: dict
|
|
216
|
+
**kwargs: dict,
|
|
213
217
|
) -> float:
|
|
214
218
|
"""Calculate the Likelihood of a template against the data.
|
|
215
219
|
|
|
@@ -278,11 +282,11 @@ class AnalysisContainer:
|
|
|
278
282
|
def _calculate_signal_operation(
|
|
279
283
|
self,
|
|
280
284
|
calc: str,
|
|
281
|
-
*args:
|
|
285
|
+
*args: Any,
|
|
282
286
|
source_only: bool = False,
|
|
283
287
|
waveform_kwargs: Optional[dict] = {},
|
|
284
288
|
data_res_arr_kwargs: Optional[dict] = {},
|
|
285
|
-
**kwargs: dict
|
|
289
|
+
**kwargs: dict,
|
|
286
290
|
) -> float | complex:
|
|
287
291
|
"""Return the likelihood of a generated signal with the data.
|
|
288
292
|
|
|
@@ -328,11 +332,11 @@ class AnalysisContainer:
|
|
|
328
332
|
|
|
329
333
|
def calculate_signal_likelihood(
|
|
330
334
|
self,
|
|
331
|
-
*args:
|
|
335
|
+
*args: Any,
|
|
332
336
|
source_only: bool = False,
|
|
333
337
|
waveform_kwargs: Optional[dict] = {},
|
|
334
338
|
data_res_arr_kwargs: Optional[dict] = {},
|
|
335
|
-
**kwargs: dict
|
|
339
|
+
**kwargs: dict,
|
|
336
340
|
) -> float | complex:
|
|
337
341
|
"""Return the likelihood of a generated signal with the data.
|
|
338
342
|
|
|
@@ -355,16 +359,16 @@ class AnalysisContainer:
|
|
|
355
359
|
source_only=source_only,
|
|
356
360
|
waveform_kwargs=waveform_kwargs,
|
|
357
361
|
data_res_arr_kwargs=data_res_arr_kwargs,
|
|
358
|
-
**kwargs
|
|
362
|
+
**kwargs,
|
|
359
363
|
)
|
|
360
364
|
|
|
361
365
|
def calculate_signal_inner_product(
|
|
362
366
|
self,
|
|
363
|
-
*args:
|
|
367
|
+
*args: Any,
|
|
364
368
|
source_only: bool = False,
|
|
365
369
|
waveform_kwargs: Optional[dict] = {},
|
|
366
370
|
data_res_arr_kwargs: Optional[dict] = {},
|
|
367
|
-
**kwargs: dict
|
|
371
|
+
**kwargs: dict,
|
|
368
372
|
) -> float | complex:
|
|
369
373
|
"""Return the inner product of a generated signal with the data.
|
|
370
374
|
|
|
@@ -387,16 +391,16 @@ class AnalysisContainer:
|
|
|
387
391
|
source_only=source_only,
|
|
388
392
|
waveform_kwargs=waveform_kwargs,
|
|
389
393
|
data_res_arr_kwargs=data_res_arr_kwargs,
|
|
390
|
-
**kwargs
|
|
394
|
+
**kwargs,
|
|
391
395
|
)
|
|
392
396
|
|
|
393
397
|
def calculate_signal_snr(
|
|
394
398
|
self,
|
|
395
|
-
*args:
|
|
399
|
+
*args: Any,
|
|
396
400
|
source_only: bool = False,
|
|
397
401
|
waveform_kwargs: Optional[dict] = {},
|
|
398
402
|
data_res_arr_kwargs: Optional[dict] = {},
|
|
399
|
-
**kwargs: dict
|
|
403
|
+
**kwargs: dict,
|
|
400
404
|
) -> Tuple[float, float]:
|
|
401
405
|
"""Return the SNR of a generated signal with the data.
|
|
402
406
|
|
|
@@ -419,7 +423,7 @@ class AnalysisContainer:
|
|
|
419
423
|
source_only=source_only,
|
|
420
424
|
waveform_kwargs=waveform_kwargs,
|
|
421
425
|
data_res_arr_kwargs=data_res_arr_kwargs,
|
|
422
|
-
**kwargs
|
|
426
|
+
**kwargs,
|
|
423
427
|
)
|
|
424
428
|
|
|
425
429
|
def eryn_likelihood_function(self, x, *args, **kwargs):
|
|
@@ -4,7 +4,6 @@ from typing import Any, Tuple, Optional, List
|
|
|
4
4
|
|
|
5
5
|
import math
|
|
6
6
|
import numpy as np
|
|
7
|
-
from numpy.typing import ArrayLike
|
|
8
7
|
from scipy import interpolate
|
|
9
8
|
import matplotlib.pyplot as plt
|
|
10
9
|
|
|
@@ -36,7 +35,7 @@ class DataResidualArray:
|
|
|
36
35
|
sens_mat: Input sensitivity list. The shape of the nested lists should represent the shape of the
|
|
37
36
|
desired matrix. Each entry in the list must be an array, :class:`Sensitivity`-derived object,
|
|
38
37
|
or a string corresponding to the :class:`Sensitivity` object.
|
|
39
|
-
**sens_kwargs: Keyword arguments to pass to :
|
|
38
|
+
**sens_kwargs: Keyword arguments to pass to :func:`Sensitivity.get_Sn`.
|
|
40
39
|
|
|
41
40
|
"""
|
|
42
41
|
|
|
@@ -443,7 +443,7 @@ class LISAModel(LISAModelSettings, ABC):
|
|
|
443
443
|
scirdv1 = LISAModel((15.0e-12) ** 2, (3.0e-15) ** 2, DefaultOrbits(), "scirdv1")
|
|
444
444
|
proposal = LISAModel((10.0e-12) ** 2, (3.0e-15) ** 2, DefaultOrbits(), "proposal")
|
|
445
445
|
mrdv1 = LISAModel((10.0e-12) ** 2, (2.4e-15) ** 2, DefaultOrbits(), "mrdv1")
|
|
446
|
-
sangria = LISAModel((
|
|
446
|
+
sangria = LISAModel((7.9e-12) ** 2, (2.4e-15) ** 2, DefaultOrbits(), "sangria")
|
|
447
447
|
|
|
448
448
|
__stock_list_models__ = [scirdv1, proposal, mrdv1, sangria]
|
|
449
449
|
__stock_list_models_name__ = [tmp.name for tmp in __stock_list_models__]
|
|
@@ -2,7 +2,6 @@ import warnings
|
|
|
2
2
|
from types import ModuleType, NoneType
|
|
3
3
|
from typing import Optional, Any, Tuple, List
|
|
4
4
|
|
|
5
|
-
from numpy.typing import ArrayLike
|
|
6
5
|
import matplotlib.pyplot as plt
|
|
7
6
|
|
|
8
7
|
from eryn.utils import TransformContainer
|
|
@@ -387,7 +386,7 @@ def snr(
|
|
|
387
386
|
def h_var_p_eps(
|
|
388
387
|
step: float,
|
|
389
388
|
waveform_model: callable,
|
|
390
|
-
params:
|
|
389
|
+
params: np.ndarray | list,
|
|
391
390
|
index: int,
|
|
392
391
|
parameter_transforms: Optional[TransformContainer] = None,
|
|
393
392
|
waveform_args: Optional[tuple] = (),
|
|
@@ -499,8 +498,8 @@ def dh_dlambda(
|
|
|
499
498
|
def info_matrix(
|
|
500
499
|
eps: float | np.ndarray,
|
|
501
500
|
waveform_model: callable,
|
|
502
|
-
params:
|
|
503
|
-
deriv_inds: Optional[
|
|
501
|
+
params: np.ndarray | list,
|
|
502
|
+
deriv_inds: Optional[np.ndarray | list] = None,
|
|
504
503
|
inner_product_kwargs: Optional[dict] = {},
|
|
505
504
|
return_derivs: Optional[bool] = False,
|
|
506
505
|
**kwargs: dict,
|
|
@@ -793,7 +792,7 @@ def cutler_vallisneri_bias(
|
|
|
793
792
|
eps: float | np.ndarray,
|
|
794
793
|
input_diagnostics: Optional[dict] = None,
|
|
795
794
|
info_mat: Optional[np.ndarray] = None,
|
|
796
|
-
deriv_inds: Optional[
|
|
795
|
+
deriv_inds: Optional[np.ndarray | list] = None,
|
|
797
796
|
return_derivs: Optional[bool] = False,
|
|
798
797
|
return_cov: Optional[bool] = False,
|
|
799
798
|
parameter_transforms: Optional[TransformContainer] = None,
|