FT_CHECKDATA

Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_checkdata”.

  FT_CHECKDATA checks the input data of the main FieldTrip functions, e.g. whether
  the type of data strucure corresponds with the required data. If neccessary
  and possible, this function will adjust the data structure to the input
  requirements (e.g. change dimord, average over trials, convert inside from
  index into logical).
 
  If the input data does NOT correspond to the requirements, this function
  is supposed to give a elaborate warning message and if applicable point
  the user to external documentation (link to website).
 
  Use as
    [data] = ft_checkdata(data, ...)
 
  Optional input arguments should be specified as key-value pairs and can include
    feedback           = yes, no
    datatype           = raw, freq, timelock, comp, spike, source, volume, dip
    dimord             = any combination of time, freq, chan, refchan, rpt, subj, chancmb, rpttap, pos
    senstype           = ctf151, ctf275, ctf151_planar, ctf275_planar, neuromag122, neuromag306, bti148, bti248, bti248_planar, magnetometer, electrode
    inside             = logical, index
    ismeg              = yes, no
    hastrials          = yes, no
    hasunits           = yes, no
    hassampleinfo      = yes, no, ifmakessense
    hascumtapcnt       = yes, no (only applies to freq data)
    hasdim             = yes, no
    hasdof             = yes, no
    cmbrepresentation  = sparse, full (applies to covariance and cross-spectral density)
    fsample            = sampling frequency to use to go from SPIKE to RAW representation
 
  For some options you can specify multiple values, e.g.
    [data] = ft_checkdata(data, 'senstype', {'ctf151', 'ctf275'}), e.g. in megrealign
    [data] = ft_checkdata(data, 'datatype', {'timelock', 'freq'}), e.g. in sourceanalysis

reference/ft_checkdata.txt · Last modified: 2012/05/23 23:02 (external edit)

You are here: startreferenceft_checkdata
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0