lisaanalysistools 1.0.0__cp312-cp312-macosx_10_9_x86_64.whl → 1.0.1__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.0.dist-info → lisaanalysistools-1.0.1.dist-info}/METADATA +2 -2
- {lisaanalysistools-1.0.0.dist-info → lisaanalysistools-1.0.1.dist-info}/RECORD +7 -7
- lisatools/_version.py +1 -1
- lisatools/detector.py +18 -5
- {lisaanalysistools-1.0.0.dist-info → lisaanalysistools-1.0.1.dist-info}/LICENSE +0 -0
- {lisaanalysistools-1.0.0.dist-info → lisaanalysistools-1.0.1.dist-info}/WHEEL +0 -0
- {lisaanalysistools-1.0.0.dist-info → lisaanalysistools-1.0.1.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.1
|
|
4
4
|
Home-page: https://github.com/mikekatz04/lisa-on-gpu
|
|
5
5
|
Author: Michael Katz
|
|
6
6
|
Author-email: mikekatz04@gmail.com
|
|
@@ -59,7 +59,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
59
59
|
|
|
60
60
|
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
61
|
|
|
62
|
-
Current Version: 1.0.
|
|
62
|
+
Current Version: 1.0.1
|
|
63
63
|
|
|
64
64
|
## Authors/Developers
|
|
65
65
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
lisatools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
lisatools/_version.py,sha256=
|
|
2
|
+
lisatools/_version.py,sha256=1jFk9o0EEGpBLxDSAAHpzrzFxfly0qjljEoqarE0STI,123
|
|
3
3
|
lisatools/analysiscontainer.py,sha256=KG1Iww3iYHyeoKYgfASqQ2Lu2VilXuW9zDW1Jkw5ARc,15329
|
|
4
4
|
lisatools/datacontainer.py,sha256=MErM0cWZdxVtbaA8HTU79bXmxv2XcYDcqPiHyPbPZE0,9224
|
|
5
|
-
lisatools/detector.py,sha256=
|
|
5
|
+
lisatools/detector.py,sha256=YGia0eoeftXDxIJXDsC8MsfRm_Z1xwUG2r-qZ6lNvOs,12163
|
|
6
6
|
lisatools/diagnostic.py,sha256=oPMovelkyTYUXQWzLvtZB-nia-oxYhlNIci4P2r0Bhg,34177
|
|
7
7
|
lisatools/glitch.py,sha256=qMNSqdmGqdm6kVtZP9qncP_40DyPj9ushbXh88g9wlU,5154
|
|
8
8
|
lisatools/sensitivity.py,sha256=4ELRfrB5CY7Fkg6LYuuseTdbqnx59My0i7cGvK2VxKg,27236
|
|
@@ -30,8 +30,8 @@ lisatools/utils/constants.py,sha256=r1kVwkpbZS13JTOxj2iRxT5sMgTYX30y-S0JdVmD5Oo,
|
|
|
30
30
|
lisatools/utils/multigpudataholder.py,sha256=6HwkOceqga1Q7eK4TjStGXy4oKgx37hTkdcAwiiZ8_Y,33765
|
|
31
31
|
lisatools/utils/pointeradjust.py,sha256=2sT-7qeYWr1pd_sHk9leVHUTSJ7jJgYIRoWQOtYqguE,2995
|
|
32
32
|
lisatools/utils/utility.py,sha256=TgZ4vLVGih4ZU2caMRlK06m8nMoEVvwrS3Q7dH83u1g,6742
|
|
33
|
-
lisaanalysistools-1.0.
|
|
34
|
-
lisaanalysistools-1.0.
|
|
35
|
-
lisaanalysistools-1.0.
|
|
36
|
-
lisaanalysistools-1.0.
|
|
37
|
-
lisaanalysistools-1.0.
|
|
33
|
+
lisaanalysistools-1.0.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
34
|
+
lisaanalysistools-1.0.1.dist-info/METADATA,sha256=vc9LlEpkF1ewaHP-pMHaWCHHzdqKTfo8W3IL4taqrd8,2753
|
|
35
|
+
lisaanalysistools-1.0.1.dist-info/WHEEL,sha256=KYtn_mzb_QwZSHwPlosUO3fDl70znfUFngLlrLVHeBY,111
|
|
36
|
+
lisaanalysistools-1.0.1.dist-info/top_level.txt,sha256=oCQGY7qy66i_b9MCsK2fTRdbV1pcC9GsGgIDjN47Tyc,14
|
|
37
|
+
lisaanalysistools-1.0.1.dist-info/RECORD,,
|
lisatools/_version.py
CHANGED
lisatools/detector.py
CHANGED
|
@@ -2,6 +2,7 @@ import os
|
|
|
2
2
|
from abc import ABC, abstractmethod
|
|
3
3
|
from typing import Any, List, Tuple, Optional
|
|
4
4
|
from dataclasses import dataclass
|
|
5
|
+
import requests
|
|
5
6
|
|
|
6
7
|
import numpy as np
|
|
7
8
|
import h5py
|
|
@@ -63,8 +64,22 @@ class Orbits(ABC):
|
|
|
63
64
|
def filename(self, filename: str) -> None:
|
|
64
65
|
"""Set file name."""
|
|
65
66
|
assert isinstance(filename, str)
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
path_to_this_file = __file__.split("detector.py")[0]
|
|
68
|
+
if not os.path.exists(path_to_this_file + "orbit_files/"):
|
|
69
|
+
os.mkdir(path_to_this_file + "orbit_files/")
|
|
70
|
+
path_to_this_file = path_to_this_file + "orbit_files/"
|
|
71
|
+
if not os.path.exists(path_to_this_file + filename):
|
|
72
|
+
github_file = f"https://github.com/mikekatz04/LISAanalysistools/raw/main/orbit_files/{filename}"
|
|
73
|
+
r = requests.get(github_file)
|
|
74
|
+
if r.status_code != 200:
|
|
75
|
+
raise ValueError(
|
|
76
|
+
f"Cannot find {filename} within default files located at github.com/mikekatz04/LISAanalysistools/orbit_files/."
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
with open(path_to_this_file + filename, "wb") as f:
|
|
80
|
+
f.write(r.content)
|
|
81
|
+
|
|
82
|
+
self._filename = path_to_this_file + filename
|
|
68
83
|
|
|
69
84
|
def open(self) -> h5py.File:
|
|
70
85
|
"""Opens the h5 file in the proper mode.
|
|
@@ -315,9 +330,7 @@ class EqualArmlengthOrbits(Orbits):
|
|
|
315
330
|
|
|
316
331
|
def __init__(self):
|
|
317
332
|
# TODO: fix this up
|
|
318
|
-
super().__init__(
|
|
319
|
-
"/Users/mlkatz1/Research/LISAanalysistools/examples/equalarmlength-orbits.h5"
|
|
320
|
-
)
|
|
333
|
+
super().__init__("equalarmlength-orbits.h5")
|
|
321
334
|
|
|
322
335
|
|
|
323
336
|
class DefaultOrbits(EqualArmlengthOrbits):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|