threeML.utils.fitted_objects.fitted_source_handler module

class threeML.utils.fitted_objects.fitted_source_handler.GenericFittedSourceHandler(analysis_result, new_function, parameter_names, parameters, confidence_level, equal_tailed, *independent_variable_range)[source]

Bases: object

property average

the average of the variates

Type:

return

property lower_error

the lower error of the variates

Type:

return

property median

the median of the variates

Type:

return

property samples

the raw samples of the variates

Type:

return

update_tag(tag, value)[source]
property upper_error

the upper error of the variates

Type:

return

property values

The VariatesContainer

Type:

return

class threeML.utils.fitted_objects.fitted_source_handler.VariatesContainer(values, out_shape, cl, transform, equal_tailed=True)[source]

Bases: object

property average

the transformed average

Type:

return

property lower_error

the transformed lower error

Type:

return

property median

the transformed median

Type:

return

property samples

the transformed raw samples

Type:

return

property upper_error

the transformed upper error

Type:

return

property values

the list of of RandomVariates

Type:

return

threeML.utils.fitted_objects.fitted_source_handler.transform(method)[source]

A wrapper to call the _transform method for outputs of Variates container class :param method: :return: