InputManager

class pyMaCh3._pyMaCh3.plotting.InputManager

Bases: pybind11_object

Methods Summary

get_1d_posterior(self, file_id, param)

Get the 1d posterior for a particular parameter from a particular file

get_MCMC_entry(self, file_id, step)

Load up a particular step in the MCMC chain for a particular input file

get_MCMC_value(self, file_id, param)

Get the value of a particular parameter for the current entry (set by set_MCMC_entry) in the chain for a particular file

get_enabled_llh(self, input_file_id, param)

Get whether a particular file has LLH scans for a particular parameter

get_enabled_llh_by_sample(self, ...)

Get whether a particular file has LLH scans for a particular parameter for a particular sample

get_known_1d_posterior_parameters(self, file_id)

Get all the parameters that a file has processed 1d posteriors for

get_known_MCMC_parameters(self, file_id)

Get all the parameters that a file has MCMC chain entries for

get_known_llh_parameters(self, file_id)

Get all the parameters that a file has LLH scans for

get_known_llh_samples(self, file_id)

Get all the samples that a file has individual LLH scans for

get_known_parameters(self)

Get all the parameters that this manager knows about.

get_known_post_fit_parameters(self, file_id)

Get all the parameters that a file has post fit values and errors for

get_known_samples(self)

Get all the samples that this manager knows about.

get_llh_scan(self, input_file_id, param_name)

Get the LLH scan for a particular parameter from a particular file

get_llh_scan_by_sample(self, input_file_id, ...)

Get the LLH scan for a particular parameter from a particular file for a particular sample

get_n_MCMC_entries(self, arg0)

Get the number of entries in the MCMC chain in a particular file

get_n_input_files(self)

Get the number of input files registered with this manager

get_post_fit_error(self, input_file_id, param)

Get the post fit error for a parameter from a particular file

get_post_fit_value(self, input_file_id, param)

Get the post fit value for a parameter from a particular file

get_tagged_parameters(self, tags[, check_type])

Get all the parameters whose tags match some specified list

get_tagged_samples(self, tags[, check_type])

Get all the samples whose tags match some specified list

print(self, arg0)

Print a summary of everything this manager knows

Methods Documentation

get_1d_posterior(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int, param: str) list[list[float]]

Get the 1d posterior for a particular parameter from a particular file

get_MCMC_entry(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int, step: int) None

Load up a particular step in the MCMC chain for a particular input file

get_MCMC_value(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int, param: str) float

Get the value of a particular parameter for the current entry (set by set_MCMC_entry) in the chain for a particular file

get_enabled_llh(self: pyMaCh3._pyMaCh3.plotting.InputManager, input_file_id: int, param: str, LLH_type: str = 'total') bool

Get whether a particular file has LLH scans for a particular parameter

get_enabled_llh_by_sample(self: pyMaCh3._pyMaCh3.plotting.InputManager, input_file_id: int, param: str, sample: str) bool

Get whether a particular file has LLH scans for a particular parameter for a particular sample

get_known_1d_posterior_parameters(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int) list[str]

Get all the parameters that a file has processed 1d posteriors for

get_known_MCMC_parameters(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int) list[str]

Get all the parameters that a file has MCMC chain entries for

get_known_llh_parameters(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int) list[str]

Get all the parameters that a file has LLH scans for

get_known_llh_samples(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int) list[str]

Get all the samples that a file has individual LLH scans for

get_known_parameters(self: pyMaCh3._pyMaCh3.plotting.InputManager) list[str]

Get all the parameters that this manager knows about. Useful for iterating over

get_known_post_fit_parameters(self: pyMaCh3._pyMaCh3.plotting.InputManager, file_id: int) list[str]

Get all the parameters that a file has post fit values and errors for

get_known_samples(self: pyMaCh3._pyMaCh3.plotting.InputManager) list[str]

Get all the samples that this manager knows about. Useful for iterating over

get_llh_scan(self: pyMaCh3._pyMaCh3.plotting.InputManager, input_file_id: int, param_name: str, LLH_type: str = 'total') list[list[float]]

Get the LLH scan for a particular parameter from a particular file

get_llh_scan_by_sample(self: pyMaCh3._pyMaCh3.plotting.InputManager, input_file_id: int, param: str, sample: str) list[list[float]]

Get the LLH scan for a particular parameter from a particular file for a particular sample

get_n_MCMC_entries(self: pyMaCh3._pyMaCh3.plotting.InputManager, arg0: int) int

Get the number of entries in the MCMC chain in a particular file

get_n_input_files(self: pyMaCh3._pyMaCh3.plotting.InputManager) int

Get the number of input files registered with this manager

get_post_fit_error(self: pyMaCh3._pyMaCh3.plotting.InputManager, input_file_id: int, param: str, error_type: str = '') float

Get the post fit error for a parameter from a particular file

get_post_fit_value(self: pyMaCh3._pyMaCh3.plotting.InputManager, input_file_id: int, param: str, error_type: str = '') float

Get the post fit value for a parameter from a particular file

get_tagged_parameters(self: pyMaCh3._pyMaCh3.plotting.InputManager, tags: list[str], check_type: str = 'all') list[str]

Get all the parameters whose tags match some specified list

get_tagged_samples(self: pyMaCh3._pyMaCh3.plotting.InputManager, tags: list[str], check_type: str = 'all') list[str]

Get all the samples whose tags match some specified list

print(self: pyMaCh3._pyMaCh3.plotting.InputManager, arg0: str) None

Print a summary of everything this manager knows