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.import_biosemi — FunctionImport Biosemi files
Neuroimaging.read_elp — FunctionRead elp file containing sensor locations
Input
fname: Name or path for the sfp filecoordinate: Coordinate system for electrode locationr: Radius for converting spherical coords
Output
elecs: Array of electrode objects
Neuroimaging.read_avr — FunctionRead 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
Neuroimaging.read_evt — FunctionRead *.evt file and convert to form for EEG.jl
Neuroimaging.read_sfp — FunctionRead sfp file containing sensor locations
Input
fname: Path for the sfp file
Output
elec: Electrodes object
Neuroimaging.read_dat — FunctionRead dat files
Arguments
fname: Name or path for the dat file
Returns
x: Range of x valuesy: Range of y valuesz: Range of z valuescomplete_data: Array (x × y × z x t)sample_times
References
File specs were taken from fieldtrip
Neuroimaging.read_bsa — FunctionRead Besa's BSA (.bsa) file
Input
fname: Name or path for the BSA file
Output
bsa: Dipole object
Writers
In addition to reading EEG data the following file reading functions are available.
Neuroimaging.write_avr — FunctionWrite AVR file