Skip to content

Repository files navigation

lertest

This repo includes test (jupyter-lab) examples for ler JOSS publication.

Uses ler v0.6.0

How to install ler with uv

uv pip install ler==0.6.0

If you have UV installed, you can also install ler with pip:

pip install ler==0.6.0

Included Examples

JOSS Paper Related Examples

  • batch_sampling_gwrates.ipynb

    • Batch Sampling, Statistical Uncertainty and Rate Convergence
  • batch_sampling_ler.ipynb

    • Batch Sampling, Statistical Uncertainty and Rate Convergence
    • Unlensed Case
    • Lensed Case
  • ler_speed_test.ipynb

    • No-njit and No-parallelization
    • Yes-njit and Yes-parallelization
  • selection_function.ipynb

    • Selection Function calculation with changing hyperparameters of mass model.
  • LeR_model_uncertainty.ipynb

    • Rate calculation with uncertainty in cosmology, merger rate density, mass distribution and velocity-dispersion (lens-galaxy) distribution.

General Examples

  • GWRATES_complete_examples.ipynb

    • sampling and rate calculation for unlensed events.
  • LeR_short_examples.ipynb, LeR_custom_functions.ipynb, LeR_advanced_sampling.ipynb

    • sampling and rate calculation for unlensed and lensed events with short examples.

About

ler test examples

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages