threeML.utils.fitted_objects package¶
Submodules¶
threeML.utils.fitted_objects.fitted_point_sources module¶
-
class
threeML.utils.fitted_objects.fitted_point_sources.
DifferentialFluxConversion
(flux_unit, energy_unit, flux_model, test_model)[source]¶ Bases:
threeML.utils.fitted_objects.fitted_point_sources.FluxConversion
-
class
threeML.utils.fitted_objects.fitted_point_sources.
FittedPointSourceSpectralHandler
(analysis_result, source, energy_range, energy_unit, flux_unit, confidence_level=0.68, equal_tailed=True, component=None, is_differential_flux=True)[source]¶ Bases:
threeML.utils.fitted_objects.fitted_source_handler.GenericFittedSourceHandler
-
property
components
¶ - Returns
the components of the function
-
property
is_dimensionless
¶
-
property
-
class
threeML.utils.fitted_objects.fitted_point_sources.
FluxConversion
(flux_unit, energy_unit, flux_model)[source]¶ Bases:
object
-
property
conversion_factor
¶ the conversion factor needed to finalize the model into the proper units after computations
- Returns
-
property
is_dimensionless
¶
-
property
model
¶ the model converted
- Returns
a model in the proper units
-
property
-
class
threeML.utils.fitted_objects.fitted_point_sources.
IntegralFluxConversion
(flux_unit, energy_unit, flux_model, test_model)[source]¶ Bases:
threeML.utils.fitted_objects.fitted_point_sources.FluxConversion
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
¶ - Returns
the average of the variates
-
property
lower_error
¶ - Returns
the lower error of the variates
-
property
median
¶ - Returns
the median of the variates
-
property
samples
¶ - Returns
the raw samples of the variates
-
property
upper_error
¶ - Returns
the upper error of the variates
-
property
values
¶ - Returns
The VariatesContainer
-
property
-
class
threeML.utils.fitted_objects.fitted_source_handler.
VariatesContainer
(values, out_shape, cl, transform, equal_tailed=True)[source]¶ Bases:
object
-
property
average
¶ - Returns
the transformed average
-
property
lower_error
¶ - Returns
the transformed lower error
-
property
median
¶ - Returns
the transformed median
-
property
samples
¶ - Returns
the transformed raw samples
-
property
upper_error
¶ - Returns
the transformed upper error
-
property
values
¶ - Returns
the list of of RandomVariates
-
property