mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
feat: short version of vectorized gamma_method simplified.
This commit is contained in:
parent
af28f77ec5
commit
087a3f92eb
1 changed files with 1 additions and 6 deletions
|
@ -1039,12 +1039,7 @@ def gamma_method(x, **kwargs):
|
|||
return np.vectorize(lambda o: o.gm(**kwargs))(x)
|
||||
|
||||
|
||||
def gm(x, **kwargs):
|
||||
"""Short version of the vectorized gamma_method.
|
||||
|
||||
See docstring of pe.Obs.gamma_method for details
|
||||
"""
|
||||
return gamma_method(x, **kwargs)
|
||||
gm = gamma_method
|
||||
|
||||
|
||||
def _format_uncertainty(value, dvalue, significance=2):
|
||||
|
|
Loading…
Add table
Reference in a new issue