bilby_pipe.data_analysis
Script to perform data analysis
Classes
Handles user-input for the data analysis script |
Functions
|
|
Data analysis parser creation |
|
|
Data analysis main logic |
Module Contents
- class bilby_pipe.data_analysis.DataAnalysisInput(args, unknown_args, test=False)[source]
Bases:
bilby_pipe.input.Input
Handles user-input for the data analysis script
- Parameters:
- parser: BilbyArgParser, optional
The parser containing the command line / ini file inputs
- args_list: list, optional
A list of the arguments to parse. Defaults to sys.argv[1:]
- minimum_frequency[source]
The minimum frequency
If a per-detector dictionary is given, this will return the minimum frequency value. To access the dictionary, see self.minimum_frequency_dict
- maximum_frequency[source]
The maximum frequency
If a per-detector dictionary is given, this will return the maximum frequency value. To access the dictionary, see self.maximum_frequency_dict
- get_likelihood_and_priors()[source]
Read in the likelihood and prior from the data dump
This reads in the data dump values and reconstructs the likelihood and priors. Note, care must be taken to use the “search_priors” which differ from the true prior when using marginalization
- Returns:
- likelihood, priors
The bilby likelihood and priors