read(filename,
delimiter,
t,
x,
y,
t_start=0,
t_end=9223372036854775807,
empty=[ ] )
| source code
|
Reads CSV log file with time, x-value and y-value for specified time
interval. Return values for all t_start < t < t_end.
Times with no log entries are filled with value of empty. Returns
iterable pair of time and list of coordinates
- Parameters:
filename - name of csv file
delimiter - delimiter between columns in csv file
t - number of column containing time
x - number of column containing x-value
y - number of column containing y-value
t_start - start of output time interval
t_end - end of output time interval
empty - value yielded if no log entry exists for a time, default is empty
list, maybe use None
|