Skip to main content

Gravitational waves Lensing Rates

Project description

LeR

DOI PyPI version DOCS

LeR is a statistical-based python package whose core function is designed for the computation of detectable rates pertaining to both lensed and unlensed gravitational wave (GW) events. This calculation intricately hinges upon the interplay of various components within the package, which can be categorized into three primary segments: 1. Sampling the properties of compact-binary sources, 2. Sampling characteristics of lens galaxies, and 3. Solving the lens equation to derive image attributes of the source. The holistic functionality of the package is built upon leveraging array operations and linear algebra from the numpy library, interpolation from scipy, and the multiprocessing capability inherent to Python. This design optimizes both speed and functionality while upholding user-friendliness. The architecture of the "LeR" API is deliberately organized such that each distinct functionality holds its own significance in scientific research. Simultaneously, these functionalities seamlessly integrate and can be employed collectively based on specific research requirements. Key features of LeR and its dependencies can be summarized as follows,

  • Detectable merger rates:
    • The calculation depends not only on simulated event properties but also on GW detector detectability. We compute optimal signal-to-noise ratios (SNRs) for simulated events, which can be computationally intensive. LeR mitigates this using gwsnr for efficient and rapid SNR calculation. gwsnr enables rate calculation for current and future detectors with customizable sensitivities.
    • The merger rates of both the simulated unlensed and lensed events can be computed and subsequently compared.
  • Sampling GW sources:
    • The distribution of the source's red-shift is based on the merger rate density of compact binaries, including BBHs, BNSs etc. The code is meticulously structured to facilitate straightforward incorporation of future updates or additional distributions of such sources by users.
    • The sampling of intrinsic and extrinsic parameters of gravitational wave sources is conducted employing the prior distributions encompassed within the gwcosmo and bilby Python packages. Prior to parameterizing the rate calculation, users retain the flexibility to manually substitute any relevant parameters as needed.
  • Sampling of lens galaxies:
    • The Lens distribution follows (Oguri et al. 2018. It depends on the sampled source red-shifts and also on the optical depth.
    • LeR employs the Elliptical Power Law model with the external shear (EPL+Shear) model for sampling other galaxy features, which is available in the Lenstronomy package.
    • Rejection sampling is applied on the above samples on condition that whether the event is strongly lensed or not.
  • Generation of image properties:
    • Source position is sampled from the caustic in the source plane.
    • Sampled lens properties and source position is fed in Lenstronomy to generate properties of the images.
    • Properties like magnification and time delay are essential as it modifies the source signal strength, changing the SNR and detection ability.
    • LeR can handle both super-threshold and sub-threshold events in picking detectable events and rate computation.

The LeR software has been developed to cater to the requirements of both the LIGO scientific collaboration and research scholars engaged in astrophysics studies. It is currently used in generating detectable lensing events and GW lensing rates with the available information on current and future detectors. The results will predict the feasibility of various detectors for detecting and studying such lensing events. Statistics generated from LeR will be used in event validation of the ongoing effort to detect lensed gravitational waves. Lastly, LeR was designed with upgradability in mind to include additional statistics as required by the related research.

Installation

Follow the installation instruction at ler.readthedoc

Project details


Download files

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

Source Distribution

ler-0.3.3.tar.gz (67.5 kB view details)

Uploaded Source

Built Distribution

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

ler-0.3.3-py3-none-any.whl (73.6 kB view details)

Uploaded Python 3

File details

Details for the file ler-0.3.3.tar.gz.

File metadata

  • Download URL: ler-0.3.3.tar.gz
  • Upload date:
  • Size: 67.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for ler-0.3.3.tar.gz
Algorithm Hash digest
SHA256 5ceed05d14679995d61da4f9fae1d26edd47954bd523c2d78f26f80354c87119
MD5 55f80ed2430f93b25c54f4997c2c7bbf
BLAKE2b-256 b446662e9b2642a2f44ca5ec16e2de787cfd7cf4e51a09762c5a6493acf6c5b0

See more details on using hashes here.

File details

Details for the file ler-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: ler-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 73.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for ler-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 455aa2add6a4c102afa2c8c2a9d46ede698a2664857e86778e42e8c68563ebc4
MD5 60b6dd4839b7d8ef9c32e9b41771eb27
BLAKE2b-256 9b18f537d9ef75e186408072996ca141aa9e0c1a080b6df5caf5016eebac71e0

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