|
QC_dict = {} |
|
for well in QC: |
|
for sweep in QC[well]: |
|
if all(sweep): |
|
if bounds['Rseal'][0] < sweep[0] < bounds['Rseal'][1] and \ |
|
bounds['Cm'][0] < sweep[1] < bounds['Cm'][1] and \ |
|
bounds['Rseries'][0] < sweep[2] < bounds['Rseries'][1]: |
Given that sweep is meant to be a tuple (Rseal, Cm, Rseries)
Does the syncropatch stick 0s in there somewhere? or False?
(also line above should be e.g. for well, sweep in QC.items() to avoid the dict lookup)
@chonlei @joeyshuttleworth ?
pcpostprocess/pcpostprocess/leak_correct.py
Lines 40 to 46 in e22d3d3
Given that
sweepis meant to be a tuple(Rseal, Cm, Rseries)Does the syncropatch stick 0s in there somewhere? or False?
(also line above should be e.g.
for well, sweep in QC.items()to avoid the dict lookup)@chonlei @joeyshuttleworth ?