Skip to main content

GPU-accelerated LISA Response Function

Project description

fastlisaresponse: Generic LISA response function for GPUs

This code base provides a GPU-accelerated version of the generic time-domain LISA response function. The GPU-acceleration allows this code to be used directly in Parameter Estimation.

Please see the documentation for further information on these modules. The code can be found on Github here. It can be found on Zenodo.

If you use all or any parts of this code, please cite arXiv:2204.06633. See the documentation to properly cite specific modules.

Getting Started

Install with pip:

pip install fastlisaresponse

To import fastlisaresponse:

from fastlisaresponse import ResponseWrapper

See examples notebook.

Prerequisites

Now (version 1.0.11) fastlisaresponse requires the newest version of LISA Analysis Tools. You can run pip install lisaanalysistools.

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.

To install this software for use with NVIDIA GPUs (compute capability >2.0), you need the CUDA toolkit and CuPy. The CUDA toolkit must have cuda version >8.0. Be sure to properly install CuPy within the correct CUDA toolkit version. Make sure the nvcc binary is on $PATH or set it as the CUDAHOME environment variable.

Installing

Install with pip (CPU only for now):

pip install fastlisaresponse

To install from source:

  1. Install Anaconda if you do not have it.

  2. Create a virtual environment.

conda create -n lisa_resp_env -c conda-forge gcc_linux-64 gxx_linux-64 numpy Cython scipy jupyter ipython h5py matplotlib python=3.12
conda activate lisa_resp_env
If on MACOSX, substitute `gcc_linux-64` and `gxx_linus-64` with `clang_osx-64` and `clangxx_osx-64`.

If you want a faster install, you can install the python packages (numpy, Cython, scipy, tqdm, jupyter, ipython, h5py, requests, matplotlib) with pip.
  1. Clone the repository.
git clone https://github.com/mikekatz04/lisa-on-gpu.git
cd lisa-on-gpu
  1. If using GPUs, use pip to install cupy.
pip install cupy-12x
  1. Run install. Make sure CUDA is on your PATH.
python scripts/prebuild.py
pip install .

Running the Tests

Run the example notebook or the tests using unittest from the main directory of the code:

python -m unittest discover

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Current Version: 1.0.11

Authors

  • Michael Katz
  • Jean-Baptiste Bayle
  • Alvin J. K. Chua
  • Michele Vallisneri

Contibutors

  • Maybe you!

License

This project is licensed under the GNU License - see the LICENSE.md file for details.

Acknowledgments

  • It was also supported in part through the computational resources and staff contributions provided for the Quest/Grail high performance computing facility at Northwestern University.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fastlisaresponse-1.1.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (62.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

fastlisaresponse-1.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.9-cp313-cp313-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

fastlisaresponse-1.1.9-cp313-cp313-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

fastlisaresponse-1.1.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

fastlisaresponse-1.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (88.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.9-cp312-cp312-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

fastlisaresponse-1.1.9-cp312-cp312-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

fastlisaresponse-1.1.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

fastlisaresponse-1.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.9-cp311-cp311-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

fastlisaresponse-1.1.9-cp311-cp311-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

fastlisaresponse-1.1.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

fastlisaresponse-1.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.9-cp310-cp310-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

fastlisaresponse-1.1.9-cp310-cp310-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

fastlisaresponse-1.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.9-cp39-cp39-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

fastlisaresponse-1.1.9-cp39-cp39-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file fastlisaresponse-1.1.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ac80afcd98cbcbfdbf251c5654a180d1b7b5c634066ab2320d3399bce30fb96f
MD5 e3e017c8f13e637e23b3e81ddd1248fa
BLAKE2b-256 2ac9cc6edc05b3fd0be7b84e1c3d3873056990c69dd54d08acdd1fc5deac43ee

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 70a569abb70abf5c9f77d9b4d12257748cfb6405cf0452499f22c150b85aa80d
MD5 0f6d52530fcfd9d8aefa9ab209dda27c
BLAKE2b-256 c45228df5c1ba478c1b311055ce72ea84357b24866e08fc0f95cc585ce19d39f

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 16fa2f085479b587a2c05a0f2a93607a7578552e09a8b5007772195e851f7a78
MD5 92f28d0c96d9f6047ca082e82f7fb863
BLAKE2b-256 f611938b9526b73339510686fc0c666fbe06b3d9d7aa93d2cdf9bae99cdabd9a

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7201c8e962e5bfb6eb969cd31e8bccb71e502bb5986f34249ba88cc8d494a7d
MD5 1e2a14b8f02f69dcc5fda51fe98186ae
BLAKE2b-256 05373fbd6ef01dc79c9eb4f71aff4f1449ab357cab4cb462a57406b54c82d184

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 34101cedaa00584f8351e60246bec3ecc764134e822199ea96fc8478bddb0fde
MD5 854ac1b749c2cdfe969da7c516dec0bc
BLAKE2b-256 9d0fa66121e53e5c1c424dcded2c645d370474df1d6fafbf4169903410ab4d8f

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d9226e17eec358014a24ec947d5e473f0c1e673c805ef7dd52892481d31fc1d9
MD5 0505c8e6aa96303926306799ab10a685
BLAKE2b-256 edfbc2843a517822f5d760c7434995b7360ad5b41b8ba279eaf0bb1163b9b7d1

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3c7a579157e287d7754de7cdb1d8a236915eab4eb149604b1374f9591bffe510
MD5 69ed13014f6b6e49e7d2713f53b26606
BLAKE2b-256 e3ddccbc847366afb2605598d8d9f7485388d9706abe8f27dad4d0f41e49abe9

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8387df0830eb1728a0837ed11f5c3eaa33142b35778d5a7073c19d11f51009c8
MD5 f7afc6e12b57c100c969befb58314319
BLAKE2b-256 0c9fb9a0a436e36d38cfe839a1d0d7835fc75338e333099ad7b8e3b1cefc9499

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 50f1b7f479e3dde6e4d9075991f020cc337661398dbe483d9fb3d7314f209fb5
MD5 fcc02f7ac45d80d474ac4da7884bdf6c
BLAKE2b-256 249e3eaeb2441ac5fad9b44f713590491a378de85bb9eae1979494807eea6cdb

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d0ca643a0cd8761ed2eeb7579f94461719ecba2ae1a472dce5672c46b9ff532f
MD5 dcb56a02c04cd3f2d14ca391c3ddfa81
BLAKE2b-256 a630f023923ae2d35475a4789c7553678f6f2ec49d58d57636b3e2bb76b39521

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3f5f47d2609165c3a48e77840d648293cb899809eb3c446d6bd0a763998e87e3
MD5 19c7f4a9a1aef3be0953118741e8875e
BLAKE2b-256 02518057eaddc701d00faec78c6e9dbc1ff0e4e84b706b874f03ca5b8ba3ffaf

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dd8c8855e989add850fcc596a8552040619c9a5a1dda53a0326a69b902a80431
MD5 4e9496aea748ce45040fa4a9158404d7
BLAKE2b-256 58f87501318061c9e9be76d249b301a0c33aca557211b43da43f5b82818b1af2

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cb8e80dbb65c6e991c646f76a1f99889ee20d1cc5a5d4a94f3f08df13c6fc910
MD5 fb01bf8cef8e25aa6058459ce0c884a6
BLAKE2b-256 96d8d4d00db1687a51bd784159cb0d397ac44c334ae08cde7e2b43ebd33c94b8

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae6641b88edad104ef2f7a42f19aeccac7a3b73b86a6a460583f1edb992aa336
MD5 92ca23d2e30f80305972a2961ae1d413
BLAKE2b-256 6dcde820f883ae681b5dc092a49b62f3371eea3114dc1db37f2ab78f22d0bd51

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8f4e4dbae889790868172dd6eb9fd3949dff8408c6c93aab1eec22483bc86024
MD5 e40b0e77fa4762726c1e187db1c165f5
BLAKE2b-256 ffb6798249dc90edfdfed19d48770d4896816e27d3bcf3b30615b7ba4fd4b63f

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0f9f3cc58340ce2b8172493ede6d4bc65d3b0ed74d48fe08c4a9b738865a77f7
MD5 b2294feae36681708ab163651d1c3a3b
BLAKE2b-256 0be2da34f4ca7c71adfff8e3345346b15448c9859e1c1db332b9fc7a1e1a8e92

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fdd6614cf4ff617e65bdb7717542b72f4b051ba5bb9ad5cab0a7702868accbbd
MD5 331411ba891d41dc0c759e9956d1e8c4
BLAKE2b-256 6768f696b0f9c9db364738792052be1df75006ba07ffeee7fc7377fa6aebc624

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 30a6a25d73bd859cf8bbd89538dc28f85c0a780978e96890a649e0c56b6c0edb
MD5 1e0730ce17e93a33d20781d5e6821a8b
BLAKE2b-256 0f76694e16e3dee43918d316c77ae0c11958255227cc2c58bf0b906331cc80c4

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.9-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.9-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 211b9bb359796380c3b32a5b3e76f930e7622af4994106d1c50d1d397f5a8254
MD5 ee6fb810106adb3c96aeadf599402c9c
BLAKE2b-256 25c5f5aa7aa5f6ad08b12bd0d70e727d191f6eec20567fbcacb71600155409ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page