csvreader

Created on Tue May 23 07:24:21 2017

@author: Bob Anderson

csvreader.readLightCurve(filepath)

Reads the intensities and timestamps from Limovie, Tangra, or R-OTE csv files.

csvreader.fileCanBeOpened(file)
csvreader.getFileKind(file)
csvreader.tangraParser(line, frame, time, value, secondary)

We only accept Tangra files that have been formatted according to the AOTA default which is —

UT time field formatted as [hh:mm:ss.sss] and readings reported as signal,background (no background subtraction) An example data line: 11,[16:00:14.183],2837.8,100.0,4097.32,200.0
csvreader.limovieParser(line, frame, time, value, secondary)
Limovie sample line —
3.5,21381195,21381200,22,27,43.0000,,,,,2737.8,3897.32 ...
csvreader.roteParser(line, frame, time, value, secondary)
R-OTE sample line —
1.00,[17:25:39.3415],2737.8,3897.32
csvreader.rawParser(line, frame, time, value, secondary)
csvreader.readAs(file)