mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 12:03:42 +02:00
docs: Obs.reweight docstring now matches method arguments.
This commit is contained in:
parent
0346e95f3f
commit
dc396e542c
1 changed files with 2 additions and 2 deletions
|
@ -426,7 +426,7 @@ class Obs:
|
||||||
my_string_list.append(my_string)
|
my_string_list.append(my_string)
|
||||||
print('\n'.join(my_string_list))
|
print('\n'.join(my_string_list))
|
||||||
|
|
||||||
def reweight(self, rw):
|
def reweight(self, weight):
|
||||||
"""Reweight the obs with given rewighting factors.
|
"""Reweight the obs with given rewighting factors.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
|
@ -439,7 +439,7 @@ class Obs:
|
||||||
the reweighting factor on all configurations in weight.idl and not
|
the reweighting factor on all configurations in weight.idl and not
|
||||||
on the configurations in obs[i].idl. Default False.
|
on the configurations in obs[i].idl. Default False.
|
||||||
"""
|
"""
|
||||||
return reweight(rw, [self])[0]
|
return reweight(weight, [self])[0]
|
||||||
|
|
||||||
def is_zero_within_error(self, sigma=1):
|
def is_zero_within_error(self, sigma=1):
|
||||||
"""Checks whether the observable is zero within 'sigma' standard errors.
|
"""Checks whether the observable is zero within 'sigma' standard errors.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue