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

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

fastlisaresponse-1.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

fastlisaresponse-1.1.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.2 kB view details)

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

fastlisaresponse-1.1.4-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.4-cp312-cp312-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

fastlisaresponse-1.1.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.6 kB view details)

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

fastlisaresponse-1.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

fastlisaresponse-1.1.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (63.4 kB view details)

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

fastlisaresponse-1.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

fastlisaresponse-1.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86.5 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

fastlisaresponse-1.1.4-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.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e0c3027b85a480bf3f5aa733eead0922125cb8ccb42b5f49bd8c39ea106fd2f8
MD5 a8fccece67f4f55b69fb50163030efa6
BLAKE2b-256 3734cd3fa3f202f587791bd44c28ddeb36752c1ffd8d382a1be410ade033bff0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae09c90e221aeaea47fc06e8afc0d28bbd86e0d7a9e783c23bc8aac6c748e1d6
MD5 66278b103f4f705c58dcc9a58684154c
BLAKE2b-256 03dac8e7c1155bc79e351193ccea15e79210b6d01a6b324f95dda7aeaba0e00a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b1dee4bb13e60205f73e5c398852c2c669694cad1f895734c6848f29a63dcd3f
MD5 6e4c0fe1134bf84201420ec07455dac3
BLAKE2b-256 e19cf2d8c44602bd5a587ef7d278e14cf88653ba171efc9fa604267f4991b410

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6e14b237023afee6410c111cec52ba354cb897f25b7410d3a231a9a0f433a728
MD5 faca6913ebfc0d34d257e399a7ff2f36
BLAKE2b-256 6f007e56e73ee0756877f0fc2993aed76bae44a652ea73993d1e9fe8248c2748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 787ecdacdb98f519b0b2dc28800149cfc9e5c8f384af04c49e45300a6046f113
MD5 e785c36464b3c59c9e51a6bcb258bb02
BLAKE2b-256 233542ac6b5b5d9ddcba364fec9fffe76f5810a422107f90cfa0e0afba1b5dd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b422e90d2dfb6e199a07d7fb0c29cbd75289fe3fbe431747f1db3c145af78b28
MD5 e8035387d6e1007daede6a6dbe8560cb
BLAKE2b-256 7c0a72f2764348d63eb33a13902ec4b65358e703b998eb7f1695770cf41a4a74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1bdbcfc56a3f63343728bbc4eac6986496f1d706796a702a961e1c5222bc61fa
MD5 f27224083abf917781829ef213069521
BLAKE2b-256 619e5852c6913f6360ae0c5067f4b895323a196ffebca842e6758647fd391add

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ad08818d1c732a24736e81a59c947c3d62f55e9efa5b71444fa8bd7fea51694e
MD5 13814b61ea92d3508e443c3fc106e4da
BLAKE2b-256 ecd4e62c4234bd4b5f3ad380de32c3a31327a42707e9804554939a3615c30258

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 883793fc752a9c0a32f193814ef75696e6a17458021520b03f38ae238056e300
MD5 f880cb5c2cae9059b2541f58a7919c52
BLAKE2b-256 a71e24624a066e896830dd2a9766bb7534a565b684e2d03deab534228f57562c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db51ffb77c5942e2d63d1cf3a8c505ed6c3474a1bd5f5a07d1a85cc4c095a9ad
MD5 3a183f94a272da3e8c2eea5e83acc13e
BLAKE2b-256 5358a78f2c7dae292a33fc1c034dc53e88a2806358b533cb31c89eae10feb00d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f5308cd1519f7efa25f0d9e5bd96d4fb8807b45d5916378bff7c9e1e8fc7eac7
MD5 94d2de5dd4c1d34f75e450a0289fc509
BLAKE2b-256 b80f639e854739ed70e53478c019b6b4f4ab76156e83f0fabad5065e1a2066d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7a9128d9efe6e6d11c6d64fba480cd5ae5a8c0782a4f6c0334f2586f3a20b898
MD5 4b0146c5c5fdb42e5e72622a13be2b4e
BLAKE2b-256 bbd2553eee69b2c8ac1c85f88b8814d8669d630c8e66d751b6237f734f680158

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7f2e3b7ac4a0c197f5c39f294670a9551c8735534ff5b44b7cba33886adb794
MD5 74ee24f09eb63c17d305090699880d68
BLAKE2b-256 e53c95d47ee1195c885851adb598ba63f00b8b329c64a4198036c6259a581355

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59a53be457756e73b3474220ff3ab402beb27dd2444c4ed8431ae63145d11103
MD5 703a02edbe7ad8283057132c5c73c329
BLAKE2b-256 e48a79aa2ecde37dd50fa5b07f2f22ee1d51e9577e7cd430e213e0679afb14ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f64c2bc1fd7704ac73c40c71bd075e096fc35593a64bb404b68e417e2f087ee6
MD5 9faa8e31164bbd070c983ea757b082cb
BLAKE2b-256 13a6e3e7ae60980596aa8fe1723dbd7c8fc65732e6c522b9e60cd654b6592e03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 638074d734f8705f5e549ee567fb4fb37fdf628ad8e5cbcf20582ddf2314cc12
MD5 0117233ecfd543ff647727446513f5a8
BLAKE2b-256 3541f5a6e480b6b67bb68dbe4e6fd767bcd60cf2febb8b21728c924ac7b7b3bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f32bbe5faad7d655f79cd6fb671d4982eb61f549866921e4681db9ec75b8c391
MD5 ca721c37f3b7c019321e468481d2bb6f
BLAKE2b-256 60bbeae6ee5a6a6cd50e4569730c1a28f856dcd5d9c802a029f44c87058afe1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9a084079b840aa21e2ba5c701fde92c1e633beb44a5591909b9e0d41c7461cdc
MD5 711fe7ef7a6a3e5bc29ebae5a4bc1bd8
BLAKE2b-256 cb0326faead643275693abb7fd6fbbbb93c5214a715724cd20af24899ae5832d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastlisaresponse-1.1.4-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a75b06a499a450cea12b6b3e57d5876141b7bb9f40a95fd725734bac94b4db8
MD5 c7adfd330c8e29d3baa7077912970a49
BLAKE2b-256 e88fd21a8bd69e46bfb8ea5bcc98e439903078a5608bc753b666ba92b7e7d4bd

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