Summary
Matlabbatch provides a channel definition, but pspm_pupil_correct_eyelink (and similarly, pspm_pupil_correct) expects data vectors.
In line with all other PsPM functions, pspm_pupil_correct should act on data channels, not data vectors.
Solution
Include channel loading functionality with pspm_get_channel, including a check on data units (distance, see #887). See pspm_find_valid_fixations for an example.
Summary
Matlabbatch provides a channel definition, but
pspm_pupil_correct_eyelink(and similarly,pspm_pupil_correct) expects data vectors.In line with all other PsPM functions,
pspm_pupil_correctshould act on data channels, not data vectors.Solution
Include channel loading functionality with
pspm_get_channel, including a check on data units (distance, see #887). Seepspm_find_valid_fixationsfor an example.