read_fif: Read a FIF file into R

read_fifR Documentation

Read a FIF file into R

Description

Creates an eeg_lst object from EEG/MEG data in FIF format. The function reads a .fif file using the mne Python package via reticulate. If you do not already have mne installed in your Python environment, ensure to install it prior to using this function using install_py_eeguana. The .fif file is a standard format used by MNE and other neurophysiological data analysis software.

Usage

read_fif(file, .recording = file)

Arguments

file

A .fif file containing EEG/MEG data.

.recording

Recording name, by default is the file name. This parameter is currently not used in the function but reserved for future use or metadata purposes.

Value

An eeg_lst object with signal_tbl and event information from a .fif file.

See Also

Other reading and writing functions: read_edf(), read_ft(), read_set(), read_vhdr()

Examples

## Not run: 
eeg_data <- read_fiff("./subject1_raw.fif")

## End(Not run)


bnicenboim/eeguana documentation built on March 16, 2024, 7:21 a.m.