gwpopulation_pipe.vt_helper.dump_injection_data
- dump_injection_data(args, save_filename=None)[source]
Dump the injection data to a pickle file to
{args.run_dir}/data/injections.pkl
for easier file transfer.This also makes sure the required parameters are present in the data and updates the prior accordingly.
- Parameters:
- args:
Command-line arguments
- save_filename:
The filename to save the data to. If None, it will save the data to args.run_dir/data/injections.pkl.