This repo includes test (jupyter-lab) examples for ler JOSS publication.
Uses
lerv0.6.0
uv pip install ler==0.6.0If you have UV installed, you can also install ler with pip:
pip install ler==0.6.0-
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.
-
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.