loadeeg#
- loadeeg(filename, chanlist='all', triallist='all', typerange='all', accepttype='all', rtrange='all', responsetype='all', format='auto')#
Load a Neuroscan epoch file and its per-sweep metadata.
Channel and trial selections use EEGLAB-facing 1-based indices. Truncated files return every complete selected sweep and discard the incomplete tail.
- Returns:
(signal, accept, types, reaction_times, responses, channel_names, points, sweeps, sampling_rate, xmin, xmax). Selected sweeps are concatenated along the signal’s sample axis.- Parameters:
- Return type:
tuple[ndarray, ndarray, ndarray, ndarray, ndarray, list[str], int, int, float, float, float]