def __init__(self, energy_axis_true, offset_axis, sigmas, norms, meta):
    energy_axis_true.assert_name('energy_true')
    offset_axis.assert_name('offset')
    self._energy_axis_true = energy_axis_true
    self._offset_axis = offset_axis
    sigmas[0][(sigmas[0] == 0)] = 1
    sigmas[1][(sigmas[1] == 0)] = 1
    sigmas[2][(sigmas[2] == 0)] = 1
    self.sigmas = sigmas
    self.norms = norms
    self.meta = (meta or {})
    self._interp_norms = self._setup_interpolators(self.norms)
    self._interp_sigmas = self._setup_interpolators(self.sigmas)
def __init__(self, energy_axis_true, offset_axis, sigmas, norms, meta):
    energy_axis_true.assert_name('energy_true')
    offset_axis.assert_name('offset')
    self._energy_axis_true = energy_axis_true
    self._offset_axis = offset_axis
    sigmas[0][(sigmas[0] == 0)] = 1
    sigmas[1][(sigmas[1] == 0)] = 1
    sigmas[2][(sigmas[2] == 0)] = 1
    self.sigmas = sigmas
    self.norms = norms
    self.meta = (meta or {})
    self._interp_norms = self._setup_interpolators(self.norms)
    self._interp_sigmas = self._setup_interpolators(self.sigmas)