feat: short version of vectorized gamma_method simplified.

This commit is contained in:
Fabian Joswig 2023-07-20 11:31:20 +01:00
parent af28f77ec5
commit 087a3f92eb
No known key found for this signature in database

View file

@ -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):