S3 class containing information imported from an edf-file.
Slots
preambleA preamble of the recording, see also
read_preamble.eventsEvents table which is a collection of all
FEVENTimported from the EDF file. See description below.samplesSamples table which is a collection of all
FSAMPLEimported from the EDF file. See description below.headersHeaders of the individual trials, see description below.
recordingsIndividual recording start/end information, see description below.
display_coordsRecorded screen coordinates (if recorded), see
extract_display_coords.saccadesSaccades extracted from
events, see description below andextract_saccades.fixationsFixations extracted from
events, see description below andextract_fixations.blinksBlinks extracted from
events, see description below andextract_blinks.variablesRecorded variables extracted from
events, see description below andextract_variables.triggersEvents messages that adhere to a
TRIGGER <label>format. This is a non-standard message that the package author uses to mark events like onsets or offsets, similar to how it is done in M/EEG. See description below andextract_triggers.AOIsAreas of interest events. See description below and
extract_AOIs.
Events
Events table which is a collection of all FEVENT imported from the EDF file.
Column descriptions were copied directly from the EDF access C API manual.
Please refer to that manual for further details. Additional non-standard fields are marked in bold.
trialTrial index, starts at 1.timeTime of event.typeEvent type.readFlags which items were included.sttimeStart time of the event.entimeEnd time of the event.sttime_relStart time of the event, relative to the start time of the trial.entime_relEnd time of the event, relative to the start time of the trial.hstx,hstyHead reference starting points.gstx,gstyGaze starting points.staPupil size at start.henx,henyHeadref ending points.genx,genyGaze ending points.enaPupil size at end.havx,havyHeadref averages.gavx,gavyGaze averages.avaAverage pupil size.avelAccumulated average velocity.pvelAccumulated peak velocity.svelStart velocity.evelEnd velocity.supd_x,supd_yStart units-per-degree.eupd_x,eupd_yEnd units-per-degree.eyeEither'LEFT'(0) or'RIGHT'(1).statusError, warning flags.flagsFlags to indicate contents.inputExtra (input word).buttonsButton state and changes.parsedby7 bits of flags, PARSEDBY codes.messageAny message string.
Samples
Samples table which is a collection of all FSAMPLE imported from the EDF file.
Please note that read_edf parameters determines which fields are imported.
Column descriptions were copied directly from the EDF access C API manual.
Please refer to that manual for further details. Suffixes L and R denote left and right eye.
Non-standard additional fields are marked in bold.
trialTrial index, starts at 1.eye'LEFT'(0),'RIGHT'(1), or'BINOCULAR'(2).timeTime of sample.time_relTime relative to the start of the trial.pxL,pxR,pyL,pyRPupil coordinates.hxL,hxR,hyL,hyRHeadref coordinates.paL,paRPupil size or area.gxL,gxR,gyL,gyRScreen gaze coordinates.rx,ryScreen pixels per degree.gxvelL,gxvelR,gyvelL,gyvelRGaze velocity.hxvelL,hxvelR,hyvelL,hyvelRHeadref velocity.rxvelL,rxvelR,ryvelL,ryvelRRaw velocity.fgxvelL,fgxvelR,fgyvelL,fgyvelRFast gaze velocity.fhxvelL,fhxvelR,fhyvelL,fhyvelRFast headref velocity.frxvelL,frxvelR,fryvelL,fryvelRFast raw velocity.hdata_1-hdata_8Head-tracker data (not pre-scaled). Each column correspond to a single element of theINT16 FSAMPLE::hdata[8].flagsFlags to indicate contents.inputExtra (input word).buttonsButton state & changes.htypeHead-tracker data type (0=none).errorsProcess error flags.
Headers
Trial headers table which is a collection of all TRIAL structures imported from the EDF file.
Column descriptions were copied directly from the EDF access C API manual.
Please refer to that manual for further details.
All fields of the RECORDINGS structure are prefixed with rec_.
Non-standard additional fields are marked in bold.
trialTrial index.durationDuration of the trial.starttimeStart time of the trial.endtimeEnd time of the trial.rec_timeStart time or end time.rec_sample rateSample rate in Hz: 250, 500, 1000 or 2000.rec_eflagsExtra information about events.rec_sflagsExtra information about samples.rec_state'START'(2) or'END'(1).rec_record_type'SAMPLES'(1),'EVENTS'(2), or'SAMPLES and EVENTS'(3).rec_pupil_type'AREA'(0) or'DIAMETER'(1).rec_recording_mode'PUPIL'(0) or'CR'(1).rec_filter_type1, 2, or 3.rec_pos_typeShould be'GAZE'(0),'HREF'(1) or'RAW', but currently this column is kept as numeric, since observed values do not match the declared constants.rec_eye'LEFT'(1),'RIGHT'(2) or'LEFT and RIGHT'(3).
Recordings
Recordings table which is a collection of all RECORDING structures imported from the EDF file.
Column descriptions were copied directly from the EDF access C API manual.
Please refer to that manual for further details. Non-standard additional fields are marked in bold.
trialTrial index.timeStart time or end time.sample rateSample rate in Hz: 250, 500, 1000 or 2000.eflagsExtra information about events.sflagsExtra information about samples.state'START'(2) or'END'(1).record_type'SAMPLES'(1),'EVENTS'(2), or'SAMPLES and EVENTS'(3).pupil_type'AREA'(0) or'DIAMETER'(1).recording_mode'PUPIL'(0) or'CR'(1).filter_type1, 2, or 3.pos_typeShould be'GAZE'(0),'HREF'(1) or'RAW', but currently this column is kept as numeric, since observed values do not match the declared constants.eye'LEFT'(1),'RIGHT'(2) or'LEFT and RIGHT'(3).
Saccades and Fixations
Saccades and fixations extracted from the events, tables have the same structure.
Column descriptions were copied directly from the EDF access C API manual.
Please refer to that manual for further details. Non-standard additional fields are marked in bold.
trialTrial index.sttimeStart time.entimeEnd time.sttime_relStart time, relative to the start time of the trial.entime_relEnd time, relative to the start time of the trial.durationDuration.hstx,hstyHead reference starting points.gstx,gstyGaze starting points.staPupil size at start.henx,henyHeadref ending points.genx,genyGaze ending points.enaPupil size at end.havx,havyHeadref averages.gavx,gavyGaze averages.avaAverage pupil size.avelAccumulated average velocity.pvelAccumulated peak velocity.svelStart velocity.evelEnd velocity.supd_x,supd_yStart units-per-degree.eupd_x,eupd_yEnd units-per-degree.eyeEither'LEFT'(1) or'RIGHT'(2).
Blinks
Blinks extracted from the events table. Column descriptions were copied directly from the EDF access C API manual.
Please refer to that manual for further details. Non-standard additional fields are marked in bold.
trialTrial index.sttimeStart time.entimeEnd time.sttime_relStart time, relative to the start time of the trial.entime_relEnd time, relative to the start time of the trial.durationDuration.eyeEither'LEFT'(1) or'RIGHT'(2).
Variables
User recorded variables extracted from message events with a 'TRIAL_VAR' prefix.
Original format can be either 'TRIAL_VAR <name> <value>' or 'TRIAL_VAR <name>=<value>'.
The <name> cannot contain spaces or '=' sign.
White spaces are trimmed for both <name> and <value>.
trialTrial index.sttimeStart time.sttime_relStart time, relative to the start time of the trial.variableVariable name, the<name>part of the event message.valueVariable value, the<value>part of the event message.
Trigger events
Events messages that adhere to a TRIGGER <label> format.
This is a non-standard message that the package author uses to mark events like onsets or offsets,
similar to how it is done in M/EEG.
trialTrial index.sttimeStart time.sttime_relStart time, relative to the start time of the trial.labellabel part of the message, can contain white spaces.
AOIs
Rectangular areas of interest (AOI), as defined by "!V IAREA RECTANGLE" command.
Specifically, they are expected to be in format
!V IAREA RECTANGLE <index> <left> <top> <right> <bottom> <label>.
where <label> is a string label and all other variables are integer.
trialTrial index.sttimeStart time.sttime_relStart time, relative to the start time of the trial.indexAOI index.left,top,right,bottomAOI coordinates.labelAOI label.