hughesadam87 / scikit-spectra

Python pandas-based toolkit for explorative spectroscopy, in particular UVVis spectroscopic data.
Other
94 stars 41 forks source link

Looping note working #57

Closed hughesadam87 closed 9 years ago

hughesadam87 commented 11 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!

hughesadam87 commented 11 years ago

Seems like in place operatiosn work in loop but overwrites dont! Aka f.refernece works but f.ix[] doesn't.

hughesadam87 commented 9 years ago

Works now in newer versions.