Skip to content

Calculate stable deltas for upto 8th order finite-difference derivative and the corresponding Fisher matrix for supplied extreme-mass-ratio inspiral model parameters.

License

Notifications You must be signed in to change notification settings

perturber/StableEMRIFisher

Repository files navigation

StableEMRIFisher (SEF)

StableEMRIFisher Logo

StableEMRIFisher is a Python package for computing stable Fisher information matrices for Extreme Mass Ratio Inspiral (EMRI) gravitational wave sources. It provides robust numerical derivatives of waveforms and returns Fisher matrices that can be used for accelerated parameter estimation analyses or population inference.

StableEMRIFisher uses the FastEMRIWaveforms package. Please refer to the documentation to know how to get started.

Key Features

  • Stable Numerical Derivatives: Robust finite difference methods for parameter derivatives for adiabatic Kerr eccentric equatorial based waveform models.
  • Stability Checks: Careful validation of numerical stability and convergence of the derivatives.
  • GPU Acceleration: Efficient computation for both CPUs and GPUs.
  • Response Function Utilises fastlisaresponse to efficiently compute the response of the LISA detector to EMRI waveforms.
  • Validated: Compared against MCMC parameter estimation studies.

Installation

Development Installation (Recommended)

If you're using conda

# Create and activate environment
conda create -n sef_env python=3.12
conda activate sef_env

# Clone and install
git clone https://github.com/perturber/StableEMRIFisher.git
cd StableEMRIFisher
pip install -e .

GPU-Accelerated Installation

For GPU acceleration, install with CUDA support. Note: GPU support requires Linux x86_64 systems with NVIDIA GPUs and appropriate CUDA drivers.

Using pip:

# For CUDA 11.x (Linux x86_64 only)
pip install -e ".[cuda11x]"

# For CUDA 12.x (Linux x86_64 only)  
pip install -e ".[cuda12x]"

StableEMRIFisher with the LISA response

  • First install lisaanalysistools by following the instructions here. If using GPUs, install from source.
  • Second install fastlisaresponse by following the instructions here. If using GPUs, install from source.

Documentation

Full documentation is available at stableemrifisher.readthedocs.io

Building Documentation Locally

# Install documentation dependencies
pip install -e ".[docs]"

# Build documentation
cd docs
make clean
make html

# View documentation
open _build/html/index.html  # macOS
# or 
xdg-open _build/html/index.html  # Linux

Contributing

We welcome contributions! Please:

  1. Report bugs via GitHub Issues
  2. Suggest features through issue discussions
  3. Submit pull requests with improvements
  4. Improve documentation and examples

Citation

If you use StableEMRIFisher in your research, please cite:

@software{kejriwal_2024_sef,
  author       = {Shubham Kejriwal and
                  Ollie Burke and
                  Christian Chapman-Bird and
                  Alvin J. K. Chua
                  },
  title        = {StableEMRIFisher (SEF)},
  publisher    = {Github},
  year         = "manuscript in preparation",
  url          = {https://github.com/perturber/StableEMRIFisher}
}

Please also cite FastEMRIWaveforms and other dependencies as appropriate.

License

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

Support

Acknowledgments

Development supported by:

  • Centre National de la Recherche Scientifique (CNRS)
  • National University of Singapore

Special thanks to the FastEMRIWaveforms development team and the LISA Consortium.

About

Calculate stable deltas for upto 8th order finite-difference derivative and the corresponding Fisher matrix for supplied extreme-mass-ratio inspiral model parameters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •