Input/Output

Functions are provided to read and write data in various formats.

Readers

In addition to reading EEG data the following file reading functions are available.

Neuroimaging.read_elpFunction

Read elp file containing sensor locations

Input

  • fname: Name or path for the sfp file
  • coordinate: Coordinate system for electrode location
  • r: Radius for converting spherical coords

Output

  • elecs: Array of electrode objects
source
Neuroimaging.read_avrFunction

Read AVR (.avr) file

Input

  • fname: Name or path for the AVR file

Output

  • data: Array of data read from AVR file. Each column represents a channel, and each row represents a point.
  • chanNames: Channel Names
source
Neuroimaging.read_sfpFunction

Read sfp file containing sensor locations

Input

  • fname: Path for the sfp file

Output

  • elec: Electrodes object
source
Neuroimaging.read_datFunction

Read dat files

Arguments

  • fname: Name or path for the dat file

Returns

  • x: Range of x values
  • y: Range of y values
  • z: Range of z values
  • complete_data: Array (x × y × z x t)
  • sample_times

References

File specs were taken from fieldtrip

source

Writers

In addition to reading EEG data the following file reading functions are available.