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.17-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (75.3 kB view details)

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

fastlisaresponse-1.1.17-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (100.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.13macOS 15.0+ ARM64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

fastlisaresponse-1.1.17-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (75.7 kB view details)

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

fastlisaresponse-1.1.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (101.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

fastlisaresponse-1.1.17-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (76.5 kB view details)

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

fastlisaresponse-1.1.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (100.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 15.0+ ARM64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

fastlisaresponse-1.1.17-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (76.5 kB view details)

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

fastlisaresponse-1.1.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (100.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10macOS 15.0+ ARM64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

fastlisaresponse-1.1.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (100.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9macOS 15.0+ ARM64

fastlisaresponse-1.1.17-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.17-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b78579316ba56951be1869bd6c22bf3948eabc6ea59efdb6946dd5d7e814bfa7
MD5 ecedd34f97e7acd6e0c4198980131fa8
BLAKE2b-256 edb47de226ecd6a844a868629d294c504f5cf63ba809a52b00942a0123f689be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2742e954d48fa8b1c4ac9468102330a0a1c4dfb1eefea185e8f6481e590c1f50
MD5 cb2befe58cf4edbd0d1d241c260eb292
BLAKE2b-256 003567b09ae2ebf6317c06443a2c6e8c7645e9912b417befd4cd8eab566e2295

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0b97420281c610c121d818fe026cbe46bbb80abfab56c980de9bf9e7d083af09
MD5 da15135bb841f6f3df1cfe8434ee37e5
BLAKE2b-256 b7f1ee96a00180a6c9d605412e9e130c1e1047725509c8188f45339cfd803ec0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 37bcc740a111861b08356237d5c358f720a0d558c78b712873b23a6c2e9e1575
MD5 80f35dbc38403def19c8b1dca4bb7a6c
BLAKE2b-256 1c8c6b380afeff895daaf71ee8f48b7e11316e2e166b36e8b25714fc95a05ea4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8fdf5e07e89429793ca68db13c68d2af244cc22f98fc5c9217e6ba295014c160
MD5 b1e0cb181a7050d39a68ff0949bacef0
BLAKE2b-256 639941e9eadb65bcaa5a28950d442cee755f40b3fb839d3a2c05fd6f3c2f92ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30b579ee113756f61290e19dfe59e640b0d3f70d8b96223135b5102b269810ce
MD5 bbdf4561be19d6604128d2c6223e5c1f
BLAKE2b-256 bb9bdd066415f619395bec9e3f8f21db48e4830332bcdebe62d31fe97fae0fbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 45680569e4321e32ef3392a3d3ffd688f7e27210ca7f9d0de806fb0ebda7cabc
MD5 59cc060651ac14812a28b69f91c08e07
BLAKE2b-256 8050f2333ac88ef46a30efbfbfc97dc074fad6aeccc61a8275c3a2d581ed2b9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9bfa5b415e2e1e26f34e1aa6901a2833f3e5d8fa44684cdc06429d95fb8aa8c3
MD5 696db95bb32f93eb88b30a75203c09b0
BLAKE2b-256 a4d380337044967aebd94809c133b998115a33d712dfff233542b118a7226b05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 40b2aa55dda0586931fabf1fe90c7147ba8413ba1495eec5d06d23645fb6ce58
MD5 309452bfcab8bcdcb4e0b6c40d86cde6
BLAKE2b-256 9d04bef93951cc173ae17f963017e3ddc2f7d126be99681be38e9023764f4ef5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a48045094e630982a520d939754066bf35923d4659fe1ea76567ce4fb1fa6a9
MD5 e39bdc4f4c07488631b59a4704eb0ad0
BLAKE2b-256 83e3923b5b1df74b8ed9bafed67a416820621ed1629151794cb0efb1c5d0c442

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3c8d8b0b6664f38d6416d4992a61da6559faa94681989c08a436a79f24df1895
MD5 63d89e22b8710cd28051e836c346b69c
BLAKE2b-256 06d3945a152ca40d17d6e6028e360f06db679328d1bdeeefecd94afd375577eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 033b3c3e81fdee508cae413f850ce36288f5f8fa25588771ecd683ff46860d99
MD5 358146f5267a6ccf5769cee9a8dc8c05
BLAKE2b-256 06c49be70c36c488266af781e2e1fb4fc21a2688c32764f2877615573d2867a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c857913cc49f32f0efa0e32cbb5055c2fb5d54d3e3853b2c3402e43f20ed6602
MD5 023b9bdf6811508a54f2e7477a1d9cd4
BLAKE2b-256 ac4d46781b34880ae6f856998befcdb77c4ac992778229b60372ad9c2ae298e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9caf3caebecac58449328b6747d3e50e85cc788057b52dd4c956fae2259b87bb
MD5 8a91e5758ad505cf74ac058c76c33b78
BLAKE2b-256 6f38e540b1e373154098b34891cbc1822d52c60fe29fa6475395bd375a0d7fbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 384a362b0063ef06a77389d85362793290acc55b920fbae1cd2689006e2c3b10
MD5 376f2ccf4005ee0bc09848f9203ca691
BLAKE2b-256 14987385642e3434ca815d458f2264cb6cdcc92c96b0446240e57ec0a8e5f0a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7cabf09b28765ee488230b4363d67ee777f6e5d89c46bf6383313ff1a8d2b7ec
MD5 2ef132ecfada1d2ce1114254e1568016
BLAKE2b-256 c104a109b5964d3aa3e336bef8b314a0b4023f4fc69f9cdbef3181528ec6fdbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8959d698df4fd4a1fc97f5bd41376fd809808308685fa0f99138afa951230a28
MD5 b9d833a31f17cf33dfcbb4d1c5294bea
BLAKE2b-256 1d565cb42fe0a21d99a057281030092ffabcf004fe654eeb7d2c30451f598180

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 689f25610aee583d33f957aa4597111e6f9b5a6684e7d9368ce79995b139a24f
MD5 7cc0f2de3a16c967a5f1afc0ad18b3ba
BLAKE2b-256 19594799cc4f4bb0c18eb7a50f9487d27c1855d6e21cf095e158e9ad2962d77f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.17-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 64e482c0b83b2abbaf7a0b86bcfdd4ecd28e6d023cc76760b29a6e430f6a66b6
MD5 1fdd07e42a3cd17e30ed2d230f53fd89
BLAKE2b-256 793b07a300f352f94f101bae2912804262b2e720ee79114a733847d577643b9c

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