You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to import and trim my SCR data from a biosemi device (.bdf file). However, whenever I try to trim the data it gives the following error:
Matrix index is out of range for deletion.
In file "C:\Users\0072494\OneDrive - Universiteit Utrecht\Documents\MATLAB\PsPM\PsPM_course_ESCAN2024\PsPM_v6.1.2\pspm_trim.m" (???), function "pspm_trim" at line 328.
In file "C:\Users\0072494\OneDrive - Universiteit Utrecht\Documents\MATLAB\PsPM\PsPM_course_ESCAN2024\PsPM_v6.1.2\pspm_cfg\pspm_cfg_run_trim.m" (???), function "pspm_cfg_run_trim" at line 45.
This happens regardless of the references I put in. The only way in which the data does trim, is when I only import my SCR channel, without the markers, and then use the time period from the start of the file as a reference. For this reason, I am suspecting there to be an issue with the import of the marker channel from my .bdf file; as even just using the start of the file as a reference gives this error whenever the marker channel is included.
Does anybody have an idea what is going wrong and how I could solve this?
Thanks!
Emily
The text was updated successfully, but these errors were encountered:
Discussed in #719
Originally posted by evl98 June 8, 2024
Hello,
I am trying to import and trim my SCR data from a biosemi device (.bdf file). However, whenever I try to trim the data it gives the following error:
Matrix index is out of range for deletion.
In file "C:\Users\0072494\OneDrive - Universiteit Utrecht\Documents\MATLAB\PsPM\PsPM_course_ESCAN2024\PsPM_v6.1.2\pspm_trim.m" (???), function "pspm_trim" at line 328.
In file "C:\Users\0072494\OneDrive - Universiteit Utrecht\Documents\MATLAB\PsPM\PsPM_course_ESCAN2024\PsPM_v6.1.2\pspm_cfg\pspm_cfg_run_trim.m" (???), function "pspm_cfg_run_trim" at line 45.
This happens regardless of the references I put in. The only way in which the data does trim, is when I only import my SCR channel, without the markers, and then use the time period from the start of the file as a reference. For this reason, I am suspecting there to be an issue with the import of the marker channel from my .bdf file; as even just using the start of the file as a reference gives this error whenever the marker channel is included.
Does anybody have an idea what is going wrong and how I could solve this?
Thanks!
Emily
The text was updated successfully, but these errors were encountered: