Esempio n. 1
0
    def _spectrum_function(self):
        spec = np.zeros(len(self.energy_intervals))
        spec_err = np.zeros_like(spec)
        for i, eint in enumerate(self.energy_intervals):
            lc = self._construct_lightcurves(eint, exclude=False,
                                             only_base=True)

            spec[i], spec_err[i] = excess_variance(lc, self.normalization)

        return spec, spec_err
    def _spectrum_function(self):
        spec = np.zeros(len(self.energy_intervals))
        spec_err = np.zeros_like(spec)
        for i, eint in enumerate(self.energy_intervals):
            lc = self._construct_lightcurves(eint, exclude=False,
                                             only_base=True)

            spec[i], spec_err[i] = excess_variance(lc, self.normalization)

        return spec, spec_err
Esempio n. 3
0
def evar_fun(lc):
    from stingray.utils import excess_variance
    return excess_variance(lc, normalization='none')
Esempio n. 4
0
def evar_fun(lc):
    from stingray.utils import excess_variance
    return excess_variance(lc, normalization='none')
Esempio n. 5
0
def excvar_norm(lc):
    return excess_variance(lc, normalization='norm_xs')
Esempio n. 6
0
def fvar(lc):
    return excess_variance(lc, normalization='fvar')
Esempio n. 7
0
 def excvar(lc):
     from stingray.utils import excess_variance
     return excess_variance(lc, normalization='fvar')
Esempio n. 8
0
 def excvar(lc):
     from stingray.utils import excess_variance
     return excess_variance(lc, normalization='fvar')