fastlisaresponse 1.0.6__tar.gz → 1.0.8__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 fastlisaresponse might be problematic. Click here for more details.
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/PKG-INFO +4 -4
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/README.md +2 -2
- fastlisaresponse-1.0.8/fastlisaresponse/_version.py +1 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse/response.py +5 -6
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse.egg-info/PKG-INFO +4 -4
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse.egg-info/SOURCES.txt +1 -1
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/pyproject.toml +1 -1
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/setup.py +2 -2
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/src/LISAResponse.cpp +5 -4
- fastlisaresponse-1.0.6/fastlisaresponse/_version.py +0 -1
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/MANIFEST.in +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse/__init__.py +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse/cutils/__init__.py +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse/pointer_adjust.py +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse/utils/__init__.py +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse/utils/utility.py +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse.egg-info/dependency_links.txt +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse.egg-info/not-zip-safe +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse.egg-info/top_level.txt +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/include/LISAResponse.hh +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/include/cuda_complex.hpp +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/requirements.txt +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/scripts/prebuild.py +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/setup.cfg +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/src/responselisa_cpu.cpp +0 -0
- {fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/src/responselisa_cpu.pyx +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastlisaresponse
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Home-page: https://github.com/mikekatz04/lisa-on-gpu
|
|
5
5
|
Author: Michael Katz
|
|
6
6
|
Author-email: mikekatz04@gmail.com
|
|
@@ -11,7 +11,7 @@ Classifier: Natural Language :: English
|
|
|
11
11
|
Classifier: Programming Language :: C++
|
|
12
12
|
Classifier: Programming Language :: Cython
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Requires-Python: >=3.
|
|
14
|
+
Requires-Python: >=3.6
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
|
|
17
17
|
# fastlisaresponse: Generic LISA response function for GPUs
|
|
@@ -40,7 +40,7 @@ See [examples notebook](https://github.com/mikekatz04/lisa-on-gpu/blob/master/ex
|
|
|
40
40
|
|
|
41
41
|
### Prerequisites
|
|
42
42
|
|
|
43
|
-
Now (version 1.0.
|
|
43
|
+
Now (version 1.0.7) `fastlisaresponse` requires the newest version of [LISA Analysis Tools](github.com/mikekatz04/LISAanalysistools). You can run `pip install lisaanalysistools`.
|
|
44
44
|
|
|
45
45
|
To install this software for CPU usage, you need Python >3.4 and NumPy. To run the examples, you will also need jupyter and matplotlib. We generally recommend installing everything, including gcc and g++ compilers, in the conda environment as is shown in the examples here. This generally helps avoid compilation and linking issues. If you use your own chosen compiler, you will need to make sure all necessary information is passed to the setup command (see below). You also may need to add information to the `setup.py` file.
|
|
46
46
|
|
|
@@ -105,7 +105,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
105
105
|
|
|
106
106
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/mikekatz04/lisa-on-gpu/tags).
|
|
107
107
|
|
|
108
|
-
Current Version: 1.0.
|
|
108
|
+
Current Version: 1.0.7
|
|
109
109
|
|
|
110
110
|
## Authors
|
|
111
111
|
|
|
@@ -24,7 +24,7 @@ See [examples notebook](https://github.com/mikekatz04/lisa-on-gpu/blob/master/ex
|
|
|
24
24
|
|
|
25
25
|
### Prerequisites
|
|
26
26
|
|
|
27
|
-
Now (version 1.0.
|
|
27
|
+
Now (version 1.0.7) `fastlisaresponse` requires the newest version of [LISA Analysis Tools](github.com/mikekatz04/LISAanalysistools). You can run `pip install lisaanalysistools`.
|
|
28
28
|
|
|
29
29
|
To install this software for CPU usage, you need Python >3.4 and NumPy. To run the examples, you will also need jupyter and matplotlib. We generally recommend installing everything, including gcc and g++ compilers, in the conda environment as is shown in the examples here. This generally helps avoid compilation and linking issues. If you use your own chosen compiler, you will need to make sure all necessary information is passed to the setup command (see below). You also may need to add information to the `setup.py` file.
|
|
30
30
|
|
|
@@ -89,7 +89,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
89
89
|
|
|
90
90
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/mikekatz04/lisa-on-gpu/tags).
|
|
91
91
|
|
|
92
|
-
Current Version: 1.0.
|
|
92
|
+
Current Version: 1.0.7
|
|
93
93
|
|
|
94
94
|
## Authors
|
|
95
95
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.7"
|
|
@@ -8,18 +8,18 @@ from copy import deepcopy
|
|
|
8
8
|
|
|
9
9
|
try:
|
|
10
10
|
import cupy as cp
|
|
11
|
-
from pyresponse_gpu import get_response_wrap as get_response_wrap_gpu
|
|
12
|
-
from pyresponse_gpu import get_tdi_delays_wrap as get_tdi_delays_wrap_gpu
|
|
11
|
+
from .pyresponse_gpu import get_response_wrap as get_response_wrap_gpu
|
|
12
|
+
from .pyresponse_gpu import get_tdi_delays_wrap as get_tdi_delays_wrap_gpu
|
|
13
13
|
|
|
14
14
|
gpu = True
|
|
15
15
|
|
|
16
16
|
except (ImportError, ModuleNotFoundError) as e:
|
|
17
|
-
|
|
17
|
+
pass
|
|
18
18
|
|
|
19
19
|
gpu = False
|
|
20
20
|
|
|
21
|
-
from pyresponse_cpu import get_response_wrap as get_response_wrap_cpu
|
|
22
|
-
from pyresponse_cpu import get_tdi_delays_wrap as get_tdi_delays_wrap_cpu
|
|
21
|
+
from .pyresponse_cpu import get_response_wrap as get_response_wrap_cpu
|
|
22
|
+
from .pyresponse_cpu import get_tdi_delays_wrap as get_tdi_delays_wrap_cpu
|
|
23
23
|
import time
|
|
24
24
|
import h5py
|
|
25
25
|
|
|
@@ -113,7 +113,6 @@ class pyResponseTDI(object):
|
|
|
113
113
|
num_channels (int): 3.
|
|
114
114
|
num_pts (int): Number of points to produce for the final output template.
|
|
115
115
|
order (int): Order of Lagrangian interpolation technique.
|
|
116
|
-
response_gen (func): Projection generator function.
|
|
117
116
|
sampling_frequency (double): The sampling rate in Hz.
|
|
118
117
|
tdi (str or list): TDI setup.
|
|
119
118
|
tdi_buffer (int): The buffer necessary for all information needed at early times
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastlisaresponse
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Home-page: https://github.com/mikekatz04/lisa-on-gpu
|
|
5
5
|
Author: Michael Katz
|
|
6
6
|
Author-email: mikekatz04@gmail.com
|
|
@@ -11,7 +11,7 @@ Classifier: Natural Language :: English
|
|
|
11
11
|
Classifier: Programming Language :: C++
|
|
12
12
|
Classifier: Programming Language :: Cython
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Requires-Python: >=3.
|
|
14
|
+
Requires-Python: >=3.6
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
|
|
17
17
|
# fastlisaresponse: Generic LISA response function for GPUs
|
|
@@ -40,7 +40,7 @@ See [examples notebook](https://github.com/mikekatz04/lisa-on-gpu/blob/master/ex
|
|
|
40
40
|
|
|
41
41
|
### Prerequisites
|
|
42
42
|
|
|
43
|
-
Now (version 1.0.
|
|
43
|
+
Now (version 1.0.7) `fastlisaresponse` requires the newest version of [LISA Analysis Tools](github.com/mikekatz04/LISAanalysistools). You can run `pip install lisaanalysistools`.
|
|
44
44
|
|
|
45
45
|
To install this software for CPU usage, you need Python >3.4 and NumPy. To run the examples, you will also need jupyter and matplotlib. We generally recommend installing everything, including gcc and g++ compilers, in the conda environment as is shown in the examples here. This generally helps avoid compilation and linking issues. If you use your own chosen compiler, you will need to make sure all necessary information is passed to the setup command (see below). You also may need to add information to the `setup.py` file.
|
|
46
46
|
|
|
@@ -105,7 +105,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
|
|
|
105
105
|
|
|
106
106
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/mikekatz04/lisa-on-gpu/tags).
|
|
107
107
|
|
|
108
|
-
Current Version: 1.0.
|
|
108
|
+
Current Version: 1.0.7
|
|
109
109
|
|
|
110
110
|
## Authors
|
|
111
111
|
|
|
@@ -4,7 +4,7 @@ pyproject.toml
|
|
|
4
4
|
requirements.txt
|
|
5
5
|
setup.py
|
|
6
6
|
/Users/mlkatz1/miniconda3/envs/lisa_env/lib/python3.12/site-packages/lisatools/cutils/src/Detector.cpp
|
|
7
|
-
/private/var/folders/j0/bh276m5s531565_7zdy_t5m40000gp/T/build-env-
|
|
7
|
+
/private/var/folders/j0/bh276m5s531565_7zdy_t5m40000gp/T/build-env-ex58mfzg/lib/python3.12/site-packages/lisatools/cutils/src/Detector.cpp
|
|
8
8
|
fastlisaresponse/__init__.py
|
|
9
9
|
fastlisaresponse/_version.py
|
|
10
10
|
fastlisaresponse/pointer_adjust.py
|
|
@@ -5,7 +5,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
5
5
|
|
|
6
6
|
[tool.poetry]
|
|
7
7
|
name = "fastlisaresponse"
|
|
8
|
-
version = "1.0.
|
|
8
|
+
version = "1.0.7"
|
|
9
9
|
description = "GPU/CPU TD LISA Response Function"
|
|
10
10
|
license = "Apache"
|
|
11
11
|
classifiers = ["Programming Language :: Python :: 3", "Operating System :: OS Independent"]
|
|
@@ -244,7 +244,7 @@ setup(
|
|
|
244
244
|
zip_safe=False,
|
|
245
245
|
long_description=long_description,
|
|
246
246
|
long_description_content_type="text/markdown",
|
|
247
|
-
version="1.0.
|
|
247
|
+
version="1.0.8",
|
|
248
248
|
url="https://github.com/mikekatz04/lisa-on-gpu",
|
|
249
249
|
classifiers=[
|
|
250
250
|
"Programming Language :: Python :: 3",
|
|
@@ -255,5 +255,5 @@ setup(
|
|
|
255
255
|
"Programming Language :: Cython",
|
|
256
256
|
"Programming Language :: Python :: 3.12",
|
|
257
257
|
],
|
|
258
|
-
python_requires=">=3.
|
|
258
|
+
python_requires=">=3.6",
|
|
259
259
|
)
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
#endif
|
|
17
17
|
|
|
18
18
|
#ifdef __CUDACC__
|
|
19
|
-
#define gpuErrchk(ans)
|
|
20
|
-
{
|
|
19
|
+
#define gpuErrchk(ans) \
|
|
20
|
+
{ \
|
|
21
21
|
gpuAssert2((ans), __FILE__, __LINE__); \
|
|
22
22
|
}
|
|
23
23
|
inline void gpuAssert2(cudaError_t code, const char *file, int line, bool abort = true)
|
|
@@ -432,7 +432,7 @@ void get_tdi_delays(double *delayed_links, double *input_links, int num_inputs,
|
|
|
432
432
|
cudaDeviceSynchronize();
|
|
433
433
|
gpuErrchk(cudaGetLastError());
|
|
434
434
|
gpuErrchk(cudaFree(orbits_gpu));
|
|
435
|
-
|
|
435
|
+
|
|
436
436
|
#else
|
|
437
437
|
TDI_delay(delayed_links, input_links, num_inputs, num_delays, t_arr, tdi_base_link, tdi_link_combinations, tdi_signs_in, channels, num_units, num_channels,
|
|
438
438
|
order, sampling_frequency, buffer_integer, A_in, deps, num_A, E_in, tdi_start_ind, orbits_in);
|
|
@@ -514,7 +514,8 @@ void response(double *y_gw, double *t_data, double *k_in, double *u_in, double *
|
|
|
514
514
|
link_space_craft_0[i] = orbits.sc_r[i];
|
|
515
515
|
link_space_craft_1[i] = orbits.sc_e[i];
|
|
516
516
|
links[i] = orbits.links[i];
|
|
517
|
-
// if (threadIdx.x == 1)
|
|
517
|
+
// if (threadIdx.x == 1)
|
|
518
|
+
// printf("%d %d %d %d\n", orbits.sc_r[i], orbits.sc_e[i], link_space_craft_1[i], link_space_craft_0[i]);
|
|
518
519
|
}
|
|
519
520
|
CUDA_SYNC_THREADS;
|
|
520
521
|
int point_count = order + 1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.0.6'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastlisaresponse-1.0.6 → fastlisaresponse-1.0.8}/fastlisaresponse.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|