[Mne_analysis] shifting time-scale in RAW data
Hari Bharadwaj
hari at nmr.mgh.harvard.edu
Tue Apr 29 08:39:52 EDT 2014
Hi Lau,
I am not sure I understand what your use case is for shooting the raw time axis.. If you have a 25 ms delay, why not epoch your data with tmin and tmax that are both offset by 25 ms? That way you will include only the appropriate portions of raw data into your epoch..
Hari
Hari Bharadwaj
PhD Candidate, Biomedical Engineering,
Auditory Neuroscience Laboratory
Boston University, Boston, MA 02215
Martinos Center for Biomedical Imaging,
Massachusetts General Hospital
Charlestown, MA 02129
hari at nmr.mgh.harvard.edu
Ph: 734-883-5954
> On Apr 29, 2014, at 5:34 AM, Lau Møller Andersen <lau.andersen at cnru.dk> wrote:
>
> Dear list
>
> I am aware of how to shift the time-scale in evoked files:
> http://martinos.org/mne/stable/auto_examples/plot_shift_evoked.html#example-plot-shift-evoked-py
>
> But is it possible to do it already on the raw file? (I have a trigger delay of 25 msec.)
>
> The reason for this being preferable in my view is that if you do it after having epoched, you effectively include 25 msec of data before the epoch that does not belong to the epoch. Furthermore, you exclude 25 msec of data at the end of the epoch that does belong in the epoch.
>
> Best Wishes
>
> Lau
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
More information about the Mne_analysis
mailing list