FluxPointEstimator¶
-
class
gammapy.spectrum.
FluxPointEstimator
(obs, groups, model)[source]¶ Bases:
object
Flux point estimator.
Parameters: obs :
SpectrumObservation
Spectrum observation
groups :
SpectrumEnergyGroups
Energy groups (usually output of
SpectrumEnergyGroupsMaker
)model :
SpectralModel
Global model (usually output of
SpectrumFit
)Methods Summary
compute_approx_model
(global_model, energy_range)Compute approximate model, to be used in the energy bin. compute_energy_ref
(energy_group)compute_flux_point
(energy_group)compute_points
()fit_point
(model, energy_group, energy_ref)Methods Documentation