unfoldtoolbox / Unfold.jl

Neuroimaging (EEG, fMRI, pupil ...) regression analysis in Julia
MIT License
48 stars 10 forks source link

Out of bounds events #92

Open ReneSkukies opened 2 years ago

ReneSkukies commented 2 years ago

When using Unfold.epoch to epoch your data and there are events that have a higher latency than max(sample) points of your data Unfold will generate epochs around the event completely filled with missing values. This can for example happen when the data was down-sampled without downsampling the event latencies as well.

This happens without warning or error.