Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_fetch_sens”.
FT_FETCH_SENS mimics the behaviour of FT_READ_SENS, but for a FieldTrip data structure or a FieldTrip configuration instead of a file on disk. Use as [sens] = ft_fetch_sens(cfg, data) Either of the two input arguments may be empty. The positions of the sensors are specified in a gradiometer or electrode configuration or from a layout. The sensor configuration can be passed into this function in four ways: (1) in a file whose name is passed in a configuration field, and that can be imported using FT_READ_SENS, (2) in a configuration field, (3) in a data field, or (4) in a layout file, see FT_PREPARE_LAYOUT Allowed configuration or data fields: .gradfile = sensor definition file to be read for MEG data .elecfile = sensor definition file to be read for EEG data .grad = sensor definition from MEG data .elec = sensor definition from EEG data Allowed configuration fields: .layout = reference to a layout, see FT_PREPARE_LAYOUT See also FT_READ_SENS, FT_PREPARE_LAYOUT, FT_FETCH_HEADER, FT_FETCH_EVENT, FT_FETCH_DATA
Share this page: