mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
feat: introduced alias gm for Obs.gamma_method.
This commit is contained in:
parent
f40eb1b6c0
commit
91ec0bff41
1 changed files with 2 additions and 0 deletions
|
@ -349,6 +349,8 @@ class Obs:
|
||||||
self.ddvalue = np.sqrt(self.ddvalue) / self._dvalue
|
self.ddvalue = np.sqrt(self.ddvalue) / self._dvalue
|
||||||
return
|
return
|
||||||
|
|
||||||
|
gm = gamma_method
|
||||||
|
|
||||||
def _calc_gamma(self, deltas, idx, shape, w_max, fft):
|
def _calc_gamma(self, deltas, idx, shape, w_max, fft):
|
||||||
"""Calculate Gamma_{AA} from the deltas, which are defined on idx.
|
"""Calculate Gamma_{AA} from the deltas, which are defined on idx.
|
||||||
idx is assumed to be a contiguous range (possibly with a stepsize != 1)
|
idx is assumed to be a contiguous range (possibly with a stepsize != 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue