The following data formats are supported:
Load recording file – proper importer is recognized based on file extension:
= import_recording("eeg-test-edf.edf") eeg
By default, channel types (EEG, ECG, EOG, etc.) are recognized
automatically based on channel labels. This may not work for some
recordings with weird channel names. Channel type detection can be
disabled using detect_type::Bool
parameter:
= import_recording("eeg-test-edf.edf")
eeg :channel_type]
eeg.header.recording[= import_recording("eeg-test-edf.edf", detect_type=false)
eeg :channel_type] eeg.header.recording[
Load EDF/EDF+:
= import_recording("eeg-test-edf.edf")
eeg = import_recording("eeg-test-edfplus.edf") eeg
Load Alice4 EDF:
= import_alice4("eeg-test-alice4.edf") eeg
Load BDF/BDF+:
= import_recording("eeg-test-bdf.bdf")
eeg = import_recording("eeg-test-bdfplus.bdf") eeg
Load GDF:
= import_recording("eeg-test-gdf_1.25.gdf")
eeg = import_recording("eeg-test-gdf_2.20.gdf") eeg
Load DigiTrack:
= import_digitrack("eeg-test-digitrack.txt") eeg
Load BrainVision (at least two files must be provided: .vhdr/.ahdr and .eeg):
= import_recording("eeg-test-bv.vhdr")
eeg = import_recording("eeg-test-bv.ahdr") eeg
(!) BrainVision .eeg
and .vmrk
(markers,
optional) files will be loaded using file names provided in
.vhdr
/.ahdr
. All three files must be located
in the same folder.
Load CSV:
= import_csv("eeg-test_chxt.csv.gz")
eeg = import_csv("eeg-test_txch.csv.gz") eeg
Load SET:
= import_set("eeg-test-eeglab.set") eeg
Object may be exported to CSV files:
export_csv(eeg, file_name="eeg.csv")
(!) By default, only signals are exported.
To export header meta-data, markers, components and locs:
export_csv(eeg, file_name="eeg.csv", header=true, components=true, markers=true, locs=true)
NeuroAnalyzer NEURO
objects are saved as HDF5
file.
To save the object:
save(eeg, file_name="eeg.hdf")
To overwrite, set overwrite=true
:
save(eeg, file_name="eeg.hdf", overwrite=true)
(!) Filename extension must be .hdf
Loading NeuroAnalyzer object from HDF5:
= load("eeg.hdf") eeg