[FieldTrip] plotting tutorial

Wong-Barnum, Mona mona at sdsc.edu
Mon Feb 11 20:32:51 CET 2019


Yes, I have tried the neuromag306all.lay and neuromag306cmb.lay.  My issue is I don’t know what format/data structure my data needs to be in order to use these layouts since the example neuromag306.mat was empty so didn’t work with the neuromag layouts.  I did read in my neuromag data using the ft_read_header() and ft_read_data() but not sure how to use it with the plotting function ft_multiplotER(), ft_topoplotER() and/or ft_topoplotTFR().

All help/tips are welcome

thanks,
Mona


On Feb 10, 2019, at 11:42 PM, Schoffelen, J.M. (Jan Mathijs) <jan.schoffelen at donders.ru.nl<mailto:jan.schoffelen at donders.ru.nl>> wrote:

Hi Mona,

Have you tried the layout files that are contained in fieldtrip/template/layout.
I think that there should be a few that would suit your needs.

Best wishes,
Jan-Mathijs


J.M.Schoffelen, MD PhD
Senior Researcher, VIDI-fellow - PI, language in interaction
Telephone: +31-24-3614793
Physical location: room 00.028
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands



On 9 Feb 2019, at 03:33, Wong-Barnum, Mona <mona at sdsc.edu<mailto:mona at sdsc.edu>> wrote:


Hi:

I’m working my way through the plotting tutorial at http://www.fieldtriptoolbox.org/tutorial/plotting/.  I would like to use the neuromag306all.lay layout to plot the data.  I tried the neuromag306.mat from ftp but that didn’t work; it seems the data read in from neuromag306.mat doesn’t actually contain any data:

sens

sens =

 struct with fields:

   chanpos: [2x3 double]
   elecpos: [2x3 double]
     label: {2x1 cell}
      unit: ‘cm'


I have my own neuromag .fif file but not sure how to use the layout to plot my data (read in following the instructions at page http://www.fieldtriptoolbox.org/getting_started/neuromag/):

hdr

hdr =

 struct with fields:

         label: {389x1 cell}
        nChans: 389
            Fs: 603.1072
          grad: [1x1 struct]
          elec: [1x1 struct]
      nSamples: 192000
   nSamplesPre: 0
       nTrials: 1
          orig: [1x1 struct]
      chantype: {389x1 cell}
      chanunit: {389x1 cell}


All tips/help are appreciated.

thanks,
Mona

_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202

*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    "I can't change the direction of the
    wind, but I can adjust my sails to
    always reach my destination."
                                --- Jimmy Dean
*********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190211/c9ef6509/attachment-0002.html>
-------------- next part --------------
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202


More information about the fieldtrip mailing list