Closed hughesadam87 closed 9 years ago
Used in loop:
from pyuvvis import tsload, areaplot
f1,f2,f4=tsload('f1_bsa.pickle'), tsload('f2_bsa.pickle'), tsload('f4_bsa_pbs.pickle') fibs=(f1,f2,f4)
for f in fibs: f.baseline.index=f.index #Current bug f.sub_base() f.reference=0 f=f.ix[440.0:680.0] f.to_interval('m')
Actually it turns out the loop is messing up all of this!
Seems like in place operatiosn work in loop but overwrites dont! Aka f.refernece works but f.ix[] doesn't.
Works now in newer versions.
Used in loop:
from pyuvvis import tsload, areaplot
f1,f2,f4=tsload('f1_bsa.pickle'), tsload('f2_bsa.pickle'), tsload('f4_bsa_pbs.pickle') fibs=(f1,f2,f4)
for f in fibs: f.baseline.index=f.index #Current bug f.sub_base() f.reference=0 f=f.ix[440.0:680.0] f.to_interval('m')
Actually it turns out the loop is messing up all of this!