I manually annotated bad segments in patient EEG data.
Next, I cropped the early and late parts of the resting state data, as they were most noisy.
I assumed that the annotations in the remaining time window would be shifted accordingly. Luckily, my colleague compared the pre/post cropping annotations and noted that they didn`t get shifted. There is probably a good reason for this behaviour, which I am curious to hear about.
I suggest a warning that cautions the user that annotations are not updated automatically when cropping signals containing annotations. I think that can be easily implemented and might prevent users from potentially rejecting good segments and keeping bad segments.
Then again, perhaps we are already shifting onset when cropping, and this is exactly what’s causing your issue? Could you please provide a reproducible example that demonstrates the issue?