baseline correction on data recorded by Pupil Core device
I am very new to Series and DataMatrix and I am just starting to learn how to apply preprocessing methods to my pupil size data recorded by the Pupil Core device.
The device gives out pupil size measures in the form of .csv files.
I need to know how to prepare (parse?) my data so that I can apply all the functions to it, such as srs.baseline, smooth, blinkreconstruct, etc.
A gist containing an example of my data is here:
pupil_positions.csv is my main data, in which pupil size in under the column: diameter_3d
I would appreciate some guidance on how to do the baseline correction as the first step.