fastlisaresponse 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 fastlisaresponse might be problematic. Click here for more details.

Files changed (29) hide show
  1. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/PKG-INFO +7 -5
  2. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/README.md +4 -2
  3. fastlisaresponse-1.0.5/fastlisaresponse/_version.py +1 -0
  4. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse/response.py +8 -22
  5. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse.egg-info/PKG-INFO +7 -5
  6. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/pyproject.toml +1 -1
  7. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/setup.py +4 -6
  8. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/src/pycppdetector.cpp +123 -123
  9. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/src/responselisa_cpu.cpp +123 -123
  10. fastlisaresponse-1.0.3/fastlisaresponse/_version.py +0 -1
  11. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/MANIFEST.in +0 -0
  12. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse/__init__.py +0 -0
  13. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse/cutils/__init__.py +0 -0
  14. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse/pointer_adjust.py +0 -0
  15. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse/utils/__init__.py +0 -0
  16. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse/utils/utility.py +0 -0
  17. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse.egg-info/SOURCES.txt +0 -0
  18. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse.egg-info/dependency_links.txt +0 -0
  19. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse.egg-info/not-zip-safe +0 -0
  20. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/fastlisaresponse.egg-info/top_level.txt +0 -0
  21. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/include/Detector.hpp +0 -0
  22. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/include/LISAResponse.hh +0 -0
  23. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/include/cuda_complex.hpp +0 -0
  24. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/scripts/prebuild.py +0 -0
  25. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/setup.cfg +0 -0
  26. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/src/Detector.cpp +0 -0
  27. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/src/LISAResponse.cpp +0 -0
  28. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/src/pycppdetector.pyx +0 -0
  29. {fastlisaresponse-1.0.3 → fastlisaresponse-1.0.5}/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
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
@@ -10,8 +10,8 @@ Classifier: Environment :: GPU :: NVIDIA CUDA
10
10
  Classifier: Natural Language :: English
11
11
  Classifier: Programming Language :: C++
12
12
  Classifier: Programming Language :: Cython
13
- Classifier: Programming Language :: Python :: 3.7
14
- Requires-Python: >=3.6
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Requires-Python: >=3.12
15
15
  Description-Content-Type: text/markdown
16
16
 
17
17
  # fastlisaresponse: Generic LISA response function for GPUs
@@ -20,7 +20,9 @@ This code base provides a GPU-accelerated version of the generic time-domain LIS
20
20
 
21
21
  Please see the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) for further information on these modules. The code can be found on Github [here](https://github.com/mikekatz04/lisa-on-gpu). It can be found on # TODO fix [Zenodo](https://zenodo.org/record/3981654#.XzS_KRNKjlw).
22
22
 
23
- If you use all or any parts of this code, please cite (TODO: fill in ). See the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) to properly cite specific modules.
23
+ If you use all or any parts of this code, please cite [arXiv:2204.06633](https://arxiv.org/abs/2204.06633). See the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) to properly cite specific modules.
24
+
25
+ **Warning**: newest version (1.0.5) of code with `lisatools` orbits needs detailed testing before deployed for a paper.
24
26
 
25
27
  ## Getting Started
26
28
 
@@ -114,7 +116,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
114
116
 
115
117
  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).
116
118
 
117
- Current Version: 1.0.3
119
+ Current Version: 1.0.5
118
120
 
119
121
  ## Authors
120
122
 
@@ -4,7 +4,9 @@ This code base provides a GPU-accelerated version of the generic time-domain LIS
4
4
 
5
5
  Please see the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) for further information on these modules. The code can be found on Github [here](https://github.com/mikekatz04/lisa-on-gpu). It can be found on # TODO fix [Zenodo](https://zenodo.org/record/3981654#.XzS_KRNKjlw).
6
6
 
7
- If you use all or any parts of this code, please cite (TODO: fill in ). See the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) to properly cite specific modules.
7
+ If you use all or any parts of this code, please cite [arXiv:2204.06633](https://arxiv.org/abs/2204.06633). See the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) to properly cite specific modules.
8
+
9
+ **Warning**: newest version (1.0.5) of code with `lisatools` orbits needs detailed testing before deployed for a paper.
8
10
 
9
11
  ## Getting Started
10
12
 
@@ -98,7 +100,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
98
100
 
99
101
  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).
100
102
 
101
- Current Version: 1.0.3
103
+ Current Version: 1.0.5
102
104
 
103
105
  ## Authors
104
106
 
@@ -0,0 +1 @@
1
+ __version__ = '1.0.4'
@@ -56,7 +56,7 @@ class pyResponseTDI(object):
56
56
  the response for these orbits numerically. This includes both the projection
57
57
  of the gravitational waves onto the LISA constellation arms and combinations \
58
58
  of projections into TDI observables. The methods and maths used can be found
59
- in # TODO: add url for paper.
59
+ [here](https://arxiv.org/abs/2204.06633).
60
60
 
61
61
  This class is also GPU-accelerated, which is very helpful for Bayesian inference
62
62
  methods.
@@ -64,12 +64,6 @@ class pyResponseTDI(object):
64
64
  Args:
65
65
  sampling_frequency (double): The sampling rate in Hz.
66
66
  num_pts (int): Number of points to produce for the final output template.
67
- orbit_kwargs (dict): Dictionary containing orbital information. The kwargs and defaults
68
- are: :code:`orbit_module=None, order=0, max_t_orbits=3.15576e7, orbit_file=None`.
69
- :code:`orbit_module` is an orbit module from the LDC package. :code:`max_t_orbits` is
70
- the maximum time desired for the orbital information. `orbit_file` is
71
- an h5 file of the form used `here <https://gitlab.in2p3.fr/lisa-simulation/orbits>`_.
72
- :code:`order` is the order of interpolation used in the orbit modules.
73
67
  order (int, optional): Order of Lagrangian interpolation technique. Lower orders
74
68
  will be faster. The user must make sure the order is sufficient for the
75
69
  waveform being used. (default: 25)
@@ -83,15 +77,15 @@ class pyResponseTDI(object):
83
77
  ``'sign'`` is the sign in front of the contribution to the TDI observable. It takes the value of `+1` or `-1`.
84
78
  ``type`` is either ``"delay"`` or ``"advance"``. It is optional and defaults to ``"delay"``.
85
79
  (default: ``"1st generation"``)
86
- tdi_orbit_kwargs (dict, optional): Same as :code:`orbit_kwargs`, but specifically for the TDI
87
- portion of the response computation. This allows the user to use two different orbits
88
- for the projections and TDI. For example, this can be used to examine the efficacy of
89
- frequency domain TDI codes that can handle generic orbits for the projections, but
90
- assume equal armlength orbits to reduce and simplify the expression for TDI
91
- computations. (default: :code:`None`, this means the orbits for the projections
92
- and TDI will be the same and will be built from :code:`orbit_kwargs`)
80
+ orbits (:class:`Orbits`, optional): Orbits class from LISA Analysis Tools. Works with LISA Orbits
81
+ outputs: `lisa-simulation.pages.in2p3.fr/orbits/ <https://lisa-simulation.pages.in2p3.fr/orbits/latest/>`_.
82
+ (default: :class:`EqualArmlengthOrbits`)
93
83
  tdi_chan (str, optional): Which TDI channel combination to return. Choices are :code:`'XYZ'`,
94
84
  :code:`AET`, or :code:`AE`. (default: :code:`'XYZ'`)
85
+ tdi_orbits (:class:`Orbits`, optional): Set if different orbits from projection.
86
+ Orbits class from LISA Analysis Tools. Works with LISA Orbits
87
+ outputs: `lisa-simulation.pages.in2p3.fr/orbits/ <https://lisa-simulation.pages.in2p3.fr/orbits/latest/>`_.
88
+ (default: :class:`EqualArmlengthOrbits`)
95
89
  use_gpu (bool, optional): If True, run code on the GPU. (default: :code:`False`)
96
90
 
97
91
  Attributes:
@@ -118,20 +112,12 @@ class pyResponseTDI(object):
118
112
  interpolation. This is hard coded to 1001.
119
113
  num_channels (int): 3.
120
114
  num_pts (int): Number of points to produce for the final output template.
121
- num_tdi_combinations (int): Number of independent arm computations.
122
- num_tdi_delay_comps (int): Number of independent arm computations that require delays.
123
- orbits_store (dict): Contains orbital information for the projection and TDI
124
- steps.
125
115
  order (int): Order of Lagrangian interpolation technique.
126
116
  response_gen (func): Projection generator function.
127
117
  sampling_frequency (double): The sampling rate in Hz.
128
118
  tdi (str or list): TDI setup.
129
119
  tdi_buffer (int): The buffer necessary for all information needed at early times
130
120
  for the TDI computation. This is set to 200.
131
- tdi_chan (str): Which TDI channel combination to return.
132
- tdi_delays (xp.ndarray): TDI delays.
133
- tdi_gen (func): TDI generating function.
134
- tdi_signs (xp.ndarray): Signs applied to the addition of a delayed link. (+1 or -1)
135
121
  use_gpu (bool): If True, run on GPU.
136
122
  xp (obj): Either Numpy or Cupy.
137
123
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastlisaresponse
3
- Version: 1.0.3
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
@@ -10,8 +10,8 @@ Classifier: Environment :: GPU :: NVIDIA CUDA
10
10
  Classifier: Natural Language :: English
11
11
  Classifier: Programming Language :: C++
12
12
  Classifier: Programming Language :: Cython
13
- Classifier: Programming Language :: Python :: 3.7
14
- Requires-Python: >=3.6
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Requires-Python: >=3.12
15
15
  Description-Content-Type: text/markdown
16
16
 
17
17
  # fastlisaresponse: Generic LISA response function for GPUs
@@ -20,7 +20,9 @@ This code base provides a GPU-accelerated version of the generic time-domain LIS
20
20
 
21
21
  Please see the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) for further information on these modules. The code can be found on Github [here](https://github.com/mikekatz04/lisa-on-gpu). It can be found on # TODO fix [Zenodo](https://zenodo.org/record/3981654#.XzS_KRNKjlw).
22
22
 
23
- If you use all or any parts of this code, please cite (TODO: fill in ). See the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) to properly cite specific modules.
23
+ If you use all or any parts of this code, please cite [arXiv:2204.06633](https://arxiv.org/abs/2204.06633). See the [documentation](https://mikekatz04.github.io/lisa-on-gpu/) to properly cite specific modules.
24
+
25
+ **Warning**: newest version (1.0.5) of code with `lisatools` orbits needs detailed testing before deployed for a paper.
24
26
 
25
27
  ## Getting Started
26
28
 
@@ -114,7 +116,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc
114
116
 
115
117
  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).
116
118
 
117
- Current Version: 1.0.3
119
+ Current Version: 1.0.5
118
120
 
119
121
  ## Authors
120
122
 
@@ -5,7 +5,7 @@ build-backend = 'setuptools.build_meta'
5
5
 
6
6
  [tool.poetry]
7
7
  name = "fastlisaresponse"
8
- version = "1.0.2"
8
+ version = "1.0.5"
9
9
  description = "GPU/CPU TD LISA Response Function"
10
10
  license = "Apache"
11
11
  classifiers = ["Programming Language :: Python :: 3", "Operating System :: OS Independent"]
@@ -155,8 +155,6 @@ if run_cuda_install:
155
155
  "-c",
156
156
  "--compiler-options",
157
157
  "'-fPIC'",
158
- "-Xcompiler",
159
- "-fopenmp",
160
158
  # "-G",
161
159
  # "-g",
162
160
  # "-O0",
@@ -186,7 +184,7 @@ cpu_extension = dict(
186
184
  # and not with gcc the implementation of this trick is in
187
185
  # customize_compiler()
188
186
  extra_compile_args={
189
- "gcc": ["-std=c++11", "-fopenmp"],
187
+ "gcc": ["-std=c++11"],
190
188
  }, # '-g'],
191
189
  include_dirs=[numpy_include, "./include"],
192
190
  )
@@ -231,7 +229,7 @@ setup(
231
229
  zip_safe=False,
232
230
  long_description=long_description,
233
231
  long_description_content_type="text/markdown",
234
- version="1.0.3",
232
+ version="1.0.5",
235
233
  url="https://github.com/mikekatz04/lisa-on-gpu",
236
234
  classifiers=[
237
235
  "Programming Language :: Python :: 3",
@@ -240,7 +238,7 @@ setup(
240
238
  "Natural Language :: English",
241
239
  "Programming Language :: C++",
242
240
  "Programming Language :: Cython",
243
- "Programming Language :: Python :: 3.7",
241
+ "Programming Language :: Python :: 3.12",
244
242
  ],
245
- python_requires=">=3.6",
243
+ python_requires=">=3.12",
246
244
  )