[Mne_analysis] "mne_process_raw" vs "mne_raw2mat" sample # mismatch

Matt Panichello panichem at nmr.mgh.harvard.edu
Mon Aug 8 14:00:40 EDT 2011
Search archives:

Hi Alex,

data.first_sample does equal the mismatch; this means that the difference in
sample numbering is due to whether or not the "initial skip" is taken into
account, correct? Are there any flags which allow mne_fiff2mat be modified
so that it doesn't exclude this initial skip? (I didn't see anything in the
help.)

If not, I can just use the data.first_sample value to convert between the
two numberings as needed.

Thanks a lot,

Matt


On Fri, Aug 5, 2011 at 10:01 PM, Alexandre Gramfort <
gramfort at nmr.mgh.harvard.edu> wrote:

> Hi Matt,
>
> can you run fiff_setup_read_raw on the raw data and look if the #
> mismatch is equal to the first_samp in the output structure ?
>
> data = fiff_setup_read_raw('data_raw.fif')
> data.first_samp
>
> Alex
>
> On Fri, Aug 5, 2011 at 3:44 PM, Matt Panichello
> <panichem at nmr.mgh.harvard.edu> wrote:
> > Hello,
> > I am reading raw data into matlab using mne_raw2mat. For the files I have
> > read in, I have noticed a mismatch between the sample numbering in the
> > resulting matlab structure and the sample numbering in the event file
> > produced mne_browse_raw.
> > For example, a particular trigger value (3) first appears at column
> number
> > 64,016 in my MNE_raw.data structure in the STI 14 row, while it is listed
> at
> > sample 72,415 in the event file produced by mne_browse_raw.
> >
> > Does anyone have any idea what the source of the sample # mismatch could
> be?
> > I tried manipulating the "keep initial skip" option in mne_browse_raw but
> > this didn't seem to make any difference in the event file output.
> > Thanks,
> > Matt
> >
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
> >
> >
> > The information in this e-mail is intended only for the person to whom it
> is
> > addressed. If you believe this e-mail was sent to you in error and the
> > e-mail
> > contains patient information, please contact the Partners Compliance
> > HelpLine at
> > http://www.partners.org/complianceline . If the e-mail was sent to you
> in
> > error
> > but does not contain patient information, please contact the sender and
> > properly
> > dispose of the e-mail.
> >
> >
>
>
>


-- 
Matthew Panichello
Research Coordinator, Cognitive Neuroscience Laboratory
Massachusetts General Hospital
Phone: 617-726-0308
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20110808/ecf78a91/attachment.html 


More information about the Mne_analysis mailing list