cogwheel.validation.inferenceΒΆ

Functions to perform injections in reproducible Gaussian noise and do parameter estimation on them.

This code assumes that injection samples were already generated using the generate_injections.py module.

This module can run as a script and it also provides a function submit_slurm to submit the equivalent job to a SLURM scheduler.

Functions

get_rundir

Return pathlib.Path object with injection run directory.

main

Perform an injection in reproducible Gaussian noise and estimate its parameters.

make_corner_plot

Make a corner plot of the parameter estimation results and save it to rundir/CORNER_PLOT_FILENAME.

submit_slurm

Submit a job to SLURM that performs an injection in reproducible Gaussian noise and estimates its parameters.