mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 03:53:41 +02:00
small flake8 issue resolved
This commit is contained in:
parent
71fe86b8ba
commit
b6e75230df
1 changed files with 1 additions and 6 deletions
|
@ -210,10 +210,6 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs):
|
||||||
warnings.warn('Stepsize between configurations is greater than one!' + str(stepsizes), RuntimeWarning)
|
warnings.warn('Stepsize between configurations is greater than one!' + str(stepsizes), RuntimeWarning)
|
||||||
|
|
||||||
print(',', nrw, 'reweighting factors with', nsrc, 'sources')
|
print(',', nrw, 'reweighting factors with', nsrc, 'sources')
|
||||||
if "idl_offsets" in kwargs:
|
|
||||||
idl_offsets = kwargs.get("idl_offsets")
|
|
||||||
else:
|
|
||||||
idl_offsets = np.ones(nrw, dtype=int)
|
|
||||||
result = []
|
result = []
|
||||||
idl = [range(configlist[rep][r_start_index[rep]], configlist[rep][r_stop_index[rep]], r_step) for rep in range(replica)]
|
idl = [range(configlist[rep][r_start_index[rep]], configlist[rep][r_stop_index[rep]], r_step) for rep in range(replica)]
|
||||||
for t in range(nrw):
|
for t in range(nrw):
|
||||||
|
@ -221,8 +217,7 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs):
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def extract_t0(path, prefix, dtr_read, xmin,
|
def extract_t0(path, prefix, dtr_read, xmin, spatial_extent, fit_range=5, **kwargs):
|
||||||
spatial_extent, fit_range=5, **kwargs):
|
|
||||||
"""Extract t0 from given .ms.dat files. Returns t0 as Obs.
|
"""Extract t0 from given .ms.dat files. Returns t0 as Obs.
|
||||||
|
|
||||||
It is assumed that all boundary effects have
|
It is assumed that all boundary effects have
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue