gwinferno.pipeline.utils.load_pe_and_injections_as_dict#

load_pe_and_injections_as_dict(file, ignore=None)[source]#

Load PE and injection file created by gwinferno.preprocess.data_collection.save_posterior_samples_and_injection_datasets_as_idata().

Parameters:
filestr

Path to NetCDF file containing parameter estimation samples and injection data.

Returns:
pedictdict

Dictionary of parameter estimation samples.

injdictdict

Dictionary of injection data.

constantsdict

Dictionary of constants, e.g., total number of generated injections.

param_namesList[str]

List of parameter names.