gwpopulation_pipe.vt_helper

Functions

apply_injection_prior(data, parameters)

We assume the injection prior is uniform in the detector frame primary mass and mass ratio.

broken_mass_only_linear_calibrated_grid_vt(...)

broken_mass_only_quadratic_calibrated_grid_vt(...)

broken_mass_only_scalar_calibrated_grid_vt(...)

create_injection_parser()

dummy_selection(*args, **kwargs)

dump_injection_data(args[, save_filename])

Dump the injection data to a pickle file to {args.run_dir}/data/injections.pkl for easier file transfer.

gaussian_mass_only_linear_calibrated_grid_vt(...)

gaussian_mass_only_quadratic_calibrated_grid_vt(...)

gaussian_mass_only_scalar_calibrated_grid_vt(...)

get_found_injections(data, shape[, ...])

injection_resampling_vt(vt_file, model[, ...])

injection_resampling_vt_no_redshift(vt_file, ...)

load_injection_data(vt_file[, ...])

Load the injection file in the O3 injection file format.

mass_only_linear_calibrated_grid_vt(vt_file, ...)

mass_only_quadratic_calibrated_grid_vt(...)

mass_only_scalar_calibrated_grid_vt(vt_file, ...)

read_injections()

Classes

VTData(prior, total_generated, analysis_time)