Sample Numbers in the Raw File

Hi all,

I'm trying to extract some data directly from my continuous raw file based on sample numbers from my events file as a starting point. I'm using mne-python, but I recall when I used to do this with the Matlab toolbox, I needed to do some math in order for the sample number in my continuous data to match the sample number from the events file (due to the skipping of some samples in the beginning when you load in the raw file). Is this still the case when working in mne-python? I noticed the continuous raw data has a raw.first_samp which is what the variable was called in the matlab struct. Seems to be damning evidence, so I would presume this to be the case. I just want to make sure.

Cheers,
Cody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170223/0c263f39/attachment.html

hi Cody,

yes it's the same as in Matlab.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170224/52218762/attachment.html

Perfect, thanks Alex.

Cheers,
Cody