Read in data
read_file is a function to read in a csv file and process it into a list of Timeseries objects.
Example:
result = pytimeops.read_file('data.csv', 4, 10)
Overview:
- pytimeops.read_data.read_file(filename, time_interval, comments='', channel_title='GRN')[source]
This function gets the .csv file, and returns lists of Timeseries objects
- Parameters:
filename (str) – input csv file path.
time_interval (float) – width of each bin = time between measurements.
comments (str) – any comments about dataset to store as global metadata.
channel_title (str) – the column name that contains the measurement channels for each experiment. Defaults to the bee neurons “GRN”.
- Returns:
list of Timeseries objects