gammapy/estimators/flux_point.py
def _plot_get_energy_err(self):
        """Compute energy error for given sed type"""
        try:
            energy_min = self.energy_min
            energy_max = self.energy_max
            energy_ref = self.energy_ref
            x_err = ((energy_ref - energy_min), (energy_max - energy_ref))
        except KeyError:
            x_err = None
        return x_err
Compute energy error for given sed type
Compute energy error for given sed type
Compute energy error for given sed type
def _plot_get_energy_err(self):
        try:
            energy_min = self.energy_min
            energy_max = self.energy_max
            energy_ref = self.energy_ref
            x_err = ((energy_ref - energy_min), (energy_max - energy_ref))
        except KeyError:
            x_err = None
        return x_err
def _plot_get_energy_err ( self ) : try : energy_min = self . energy_min energy_max = self . energy_max energy_ref = self . energy_ref x_err = ( ( energy_ref - energy_min ) , ( energy_max - energy_ref ) ) except KeyError : x_err = None return x_err
Compute energy error for given sed type
Compute energy error for given sed type
"""Compute energy error for given sed type"""
self