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 to calculate detectable rates of both lensing and unlensed GW events. This calculation is very much dependent on the other functionality of the package, which can be subdivided into three parts; 1. Sampling of compact-binary source properties, 2. Sampling of lens galaxy characteristics and 3. Solving the lens equation to get image properties of the source. The package as a whole relies on numpy array operation and linear algebra, scipy interpolation and multiprocessing functionality of python to increase speed and functionality without compromising on the ease of use. The API of LeR is structured such that each functionality mentioned stands in its own right for scientific research but also can be used together as needed. Key features of LeR and its dependencies can be summarized as follows,

  • Detectable merger rates:
    • Calculation not only relies on the properties of simulated events but also on detectability provided by the condition of the GW detectors. For this, the optimal signal-to-noise ratio (SNR) is calculated for each of the simulated events and it can be computationally expensive. This is mitigated because LeR relies on [gwsnr]{https://github.com/hemantaph/gwsnr/tree/main} for efficient and rapid calculation of SNRs. Due to the prowess of gwsnr, rate calculation can also be done both for present and future detectors with customizable sensitivities.
    • Merger rates of both the simulated unlensed and lensed events can be calculated and compared.
  • Sampling GW sources:
    • Distribution of the source's red-shift is based on the merger rate density of compact binaries, which can be BBH, BNS, primordial black holes (PBHs) etc. The code is designed to accommodate easy updates or additions of such distribution by the users in the future.
    • Sampling of BBH masses is done using gwcosmo following the powerlaw+peak model. Other related properties are sampled from available priors of bilby. The user can manually replace any before feeding the parameters in for rate computation.
  • Sampling of lens galaxies:
    • 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.

LeR was written to be used by both LIGO scientific collaboration and research students for related works in astrophysics. 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.2.6.tar.gz (36.4 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.2.6-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ler-0.2.6.tar.gz
Algorithm Hash digest
SHA256 a6a735df51fff213dc611b5abde55a560a8cbc2706a8857202a47d730e52706a
MD5 4438378e938e96d8ccfd1de6c66a55fd
BLAKE2b-256 46e9a9b3d5f09dd0e35f36919594e07df05223d8cd7e5be4cd6810fbc032f681

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ler-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 36.2 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.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b4b1497c87d3e0883d253c693c1311dfa94e15d61cb45804e3d9196c1a8158e7
MD5 b9bcf403d9363b079db61bd95485e593
BLAKE2b-256 caea49466f53602edb8d8a933d5542c0227b919259281fb702c2a092e9a9b8e3

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