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.10-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.10-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.10-cp313-cp313-macosx_15_0_x86_64.whl (56.4 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

fastlisaresponse-1.1.10-cp313-cp313-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

fastlisaresponse-1.1.10-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.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.10-cp312-cp312-macosx_15_0_x86_64.whl (56.6 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

fastlisaresponse-1.1.10-cp312-cp312-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

fastlisaresponse-1.1.10-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.8 kB view details)

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

fastlisaresponse-1.1.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.10-cp311-cp311-macosx_15_0_x86_64.whl (55.1 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

fastlisaresponse-1.1.10-cp311-cp311-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

fastlisaresponse-1.1.10-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.8 kB view details)

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

fastlisaresponse-1.1.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.10-cp310-cp310-macosx_15_0_x86_64.whl (55.2 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

fastlisaresponse-1.1.10-cp310-cp310-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

fastlisaresponse-1.1.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

fastlisaresponse-1.1.10-cp39-cp39-macosx_15_0_x86_64.whl (55.2 kB view details)

Uploaded CPython 3.9macOS 15.0+ x86-64

fastlisaresponse-1.1.10-cp39-cp39-macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4745146cac39b9684204e8fb119d22f43505d9a2b19f6a808ccfc765e3fc04e8
MD5 532a137db29b3d2b4d329466de053d77
BLAKE2b-256 d48baad2d1666b32875e9cf004547b7e5bff85d0d5201cc8792368c34ae35f73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60ba0a90671642da9304955c05207ea40045671d9aa1b7a2ebf38ebd0cf3badc
MD5 18b8740e98dd7369a7388dbaec355eff
BLAKE2b-256 2353a293a685ca2624a54e3c9ffc304ede65611491ade967a8ba17c744e4c9ea

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 06ed41cc8bad6be52a34dcaa464f0268a2e07d3cc4a919afef09895728fa6a7b
MD5 80f43c3805d92b370f3196dabd0f7c35
BLAKE2b-256 84aeeda4f320e50bd991cc89a986c530bf3686688b8b2c2d727ad8a9bc9942d9

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 93899a557ecb949cce62b5b61ddf27012ce785c1c300bc98e5510e6ec7707d61
MD5 2373f242bc22bf05a868f86bf0d8e933
BLAKE2b-256 e1260d63c3ca46e5edeaf99a4234aa5e68de23901f72c5cd3afa2212e3e556fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f7550929ee387a15864a7c53b0597bb2e4e3b8dd0c413803e332a4fd84f99192
MD5 6fd9ec122986c50208604fb90728cad1
BLAKE2b-256 33474c2173264e466c5001853d7b28fc2facf480efd9294ed9139619ec3dc592

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b20fd152ce971306f127794a207ff16b778903a4ea1ef2baf3ed9da25bf98a4d
MD5 1e50e346c908a0e2ddbca5330bc15d17
BLAKE2b-256 7e6fcd9e9de75de64406273e143dfebe451209ab751d0a59879310c8b38e810f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c03741ae0d57a52d9f9804c64a7932ba994b8a4c524d3fda9a43690ada89d89d
MD5 8e120001c663a114f0df54465d15c6ac
BLAKE2b-256 0f705f5c8bee48e52ec85899981f909dbeb5bea717ec48fdb2164cdcbed1b97f

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 df470912e179457ff05bc5d2aed3abe358eddc7cce2aa872429c030bedb7c2eb
MD5 70992f5a2aabc48244eb9f50fdaa48e3
BLAKE2b-256 aa7e800e51ca67b878fae7c5b52aca5283d26c5033292d6f449b1f9a085afee4

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b611b52ed30dafe3c29e46833105fda6faf3602d18e2218acfb8e90f42c551c3
MD5 e52767466a06cf398c148ccbddbeff94
BLAKE2b-256 d5714f35b8c73737384f5f3a987e1d5bdbffe146dab7d06af913a42bfade1a2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0d5f2f13c7cba0cc0116d1245e4f73109b77dfe92e2f74a2569944dc64647d3e
MD5 b935fc76fd73c3f6dae998311acfd610
BLAKE2b-256 0370937a53f9b8b72979db116a21636eea55995bd47097305bd1078eaee0e3b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3657cff1866f2739caa3f6354bd1ba4b595764d77b5d71f98132f01ba05cd76d
MD5 18e59009197766953b42e0ec3d4f55d4
BLAKE2b-256 42828f59bd9d6f1aace422607bd1262b73617d3f73a02658c3851284f55e2fa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cb7fd2ff411f8e98d6539dff2de23fee3a67775c133adbb63c1053f54e70a5da
MD5 9599bae9ceb6070f1843af7ee556cb50
BLAKE2b-256 b5085e07fb46a880eb3c04dfc0ce7d80bb6178556fa9094046c2cf2d370d5158

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7dc40192891adb530dc290c178cbad7e50f911384b4012491ad630852b8612e3
MD5 646f373e15d4a0eaf4edff156e292be6
BLAKE2b-256 622f3bd25ec2425ff91839d13816a6b953179781b16edd75ddfafdc0c0150f60

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 64a02fc74c561e63e595753f19552c9aa2f4a890e463fc2b5a929e63a4a3ef10
MD5 f1e69bd0ccab3e8e757619b32df57652
BLAKE2b-256 f92384167fa7a43705869e89df8fb550ee040dd6e398ecedbb2ff0ce09332c5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fd221c10e8ce1a3331cbdc2be2bf710025521ec22cf16d9814999532a5b73a64
MD5 a58a703b1cadaf3ecdfd43284f7ab0df
BLAKE2b-256 b49944582c12814e8b6c46ed03f6f431cf7161b02cfba334d431c9a4bdd47182

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c30d1c47313a3985fe08ec8bd00ad6266355102a78f2e3451c3e9bb9856f3ed9
MD5 f8a7619e69c40494abd33450ad96df12
BLAKE2b-256 38175a5146aeb3d1375927e071a0deae4d28fc3925eba15de9c135937bac108a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd4ff59cc80c4f50a6703d104c168d058921c6913d2d2309e4a82b2efeb62c5e
MD5 8dc4a8f7b507d0047ad2d8b4bcf6b097
BLAKE2b-256 c43115e26dfab419f946872736b54dfc7e1cc05e44205dd2b2acce7b75138fac

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3ff7a01f53d4893f55bd267e0d5804f34f189bebd1b427c8a3984e08b2f1b9c1
MD5 7a40e98b7a842f556378c005f107237a
BLAKE2b-256 56c1859b8173ed8be10ffd6ebd1e978cacf5b57d7a926154ede28415a4de375e

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 db72281caf79f7f609abb8355b75d0e6860eb2ba22e63add7acffe68ffd429c9
MD5 156fa68a8679454db7edad709c8d2051
BLAKE2b-256 8c33761a9587fdd80878aa531166701d44ddf655464b935129fce76637001be6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 95926aee6c4772cb83994a3aa7012010ac48799295870613a14ac3a664112f56
MD5 72a2b908b65398471ece3e2edc375fdd
BLAKE2b-256 13a03daf246411908d285d4e7d33370515469c1b7400c7db112a72bf5f906fb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ee029f32ee783fa715687c9f5780726469eca26e05d9c51edb34d7795b56345e
MD5 dae60a1afce130d505565db0f993d3f0
BLAKE2b-256 978cb221c3581a68b0489236de17dea6d5144edbc8639ac8a38e65cf89b18f12

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp39-cp39-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp39-cp39-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 075045a918a4f7c89863b311e3e8efeb269bace2f542b126f422ce9e0d96a5ea
MD5 5cb651333524f81f43e9bc101949e177
BLAKE2b-256 e40e95cff63bc13ae98ef044a06968890ab1d42834086562f97e238c5c5f5a4a

See more details on using hashes here.

File details

Details for the file fastlisaresponse-1.1.10-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 43005be64dd3def5d82b2c646770aba7233eb4d7f5347e3a1b0ef6a21331ddff
MD5 4d3e557d1df354dc6274cee148394b71
BLAKE2b-256 80cd4636813d080dc672e9ece6824bf7d616911835f410ec5cb4a0b3cb8e71d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.10-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d2ab0807040e5b1ac79758367dc8262d8969dd1139eac76cb695c895bb027928
MD5 487c0966164db7ff8e0abb5bbcb0ccf0
BLAKE2b-256 c9eb13ce978c0937692c13598ca35c0f649e37252fed5680d9356072b62278af

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