python - How do I find specific event in data series? -
i have series of data files containing analog signal recording. has 2 columns, time , voltage. there specific event , find exact time happens or begins. of data pretty smooth, there huge em spike, data 10x higher rest of them. want find time when spike happens, how can that? have lot of files , big excel need find way extract parts need.
i figured easiest find values > threshold, spike covers such wide index range , want precise want isolate beginning of it.
here data looks like:
% time index chan. 1 -9.993680e-002 -1.249210e+005 -1.351950e-003 -9.993600e-002 -1.249200e+005 -1.416387e-003 -9.993520e-002 -1.249190e+005 -1.158641e-003 -9.993440e-002 -1.249180e+005 -1.255296e-003 -9.993360e-002 -1.249170e+005 -1.319732e-003 -9.993280e-002 -1.249160e+005 -1.094204e-003 -9.993200e-002 -1.249150e+005 -1.094204e-003 -9.993120e-002 -1.249140e+005 -9.331130e-004 -9.993040e-002 -1.249130e+005 -1.287514e-003 -9.992960e-002 -1.249120e+005 -1.029768e-003 -9.992880e-002 -1.249110e+005 -1.480823e-003 -9.992800e-002 -1.249100e+005 -1.061986e-003 -9.992720e-002 -1.249090e+005 -1.126423e-003 -9.992640e-002 -1.249080e+005 -9.653312e-004 -9.992560e-002 -1.249070e+005 -1.158641e-003 -9.992480e-002 -1.249060e+005 -9.975495e-004 -9.992400e-002 -1.249050e+005 -1.448605e-003 -9.992320e-002 -1.249040e+005 -1.255296e-003 -9.992240e-002 -1.249030e+005 -1.094204e-003 -9.992160e-002 -1.249020e+005 -1.480823e-003 -9.992080e-002 -1.249010e+005 -1.158641e-003 -9.992000e-002 -1.249000e+005 -1.255296e-003 -9.991920e-002 -1.248990e+005 -1.158641e-003 -9.991840e-002 -1.248980e+005 -1.158641e-003 -9.991760e-002 -1.248970e+005 -1.319732e-003 -9.991680e-002 -1.248960e+005 -1.223077e-003 -9.991600e-002 -1.248950e+005 -1.223077e-003 -9.991520e-002 -1.248940e+005 -1.158641e-003 -9.991440e-002 -1.248930e+005 -9.008947e-004 -9.991360e-002 -1.248920e+005 -1.158641e-003 -9.991280e-002 -1.248910e+005 -1.126423e-003 -9.991200e-002 -1.248900e+005 -1.190859e-003 -9.991120e-002 -1.248890e+005 -1.255296e-003 -9.991040e-002 -1.248880e+005 -1.577478e-003 -9.990960e-002 -1.248870e+005 -1.641915e-003
the 3rd column i'm interested in. sampling rate high (1mhz), sharp rise cover 1000 points.
Comments
Post a Comment