EDFlib
|
#include <edflib.h>
Data Fields | |
int | handle |
int | filetype |
int | edfsignals |
long long | file_duration |
int | startdate_day |
int | startdate_month |
int | startdate_year |
long long | starttime_subsecond |
int | starttime_second |
int | starttime_minute |
int | starttime_hour |
char | patient [81] |
char | recording [81] |
char | patientcode [81] |
char | sex [16] |
char | gender [16] |
char | birthdate [16] |
int | birthdate_day |
int | birthdate_month |
int | birthdate_year |
char | patient_name [81] |
char | patient_additional [81] |
char | admincode [81] |
char | technician [81] |
char | equipment [81] |
char | recording_additional [81] |
long long | datarecord_duration |
long long | datarecords_in_file |
long long | annotations_in_file |
edflib_param_t | signalparam [EDFLIB_MAXSIGNALS] |
This structure contains the general header info and parameters. It will be filled when calling the function edfopen_file_readonly().
int edf_hdr_struct::handle |
A handle (identifier) used to distinguish the different files or -1 in case of an error.
int edf_hdr_struct::filetype |
0: EDF, 1: EDF+, 2: BDF, 3: BDF+, a negative number indicates an error code.
int edf_hdr_struct::edfsignals |
Number of signals in the file, annotation channels are not included.
long long edf_hdr_struct::file_duration |
Duration of the file expressed in units of 100 nanoseconds.
int edf_hdr_struct::startdate_day |
Startdate: day: 1 - 31
int edf_hdr_struct::startdate_month |
Startdate: month: 1 - 12
int edf_hdr_struct::startdate_year |
Startdate: year: 1985 - 2084
long long edf_hdr_struct::starttime_subsecond |
Starttime subsecond expressed in units of 100 nanoseconds. Is always less than 10000000 (one second). Only used by EDF+ and BDF+.
int edf_hdr_struct::starttime_second |
Starttime: second: 0 - 59
int edf_hdr_struct::starttime_minute |
Starttime: minute: 0 - 59
int edf_hdr_struct::starttime_hour |
Starttime: hour: 0 - 23
char edf_hdr_struct::patient[81] |
Null-terminated string, contains patient field of header, is always empty when filetype is EDFPLUS or BDFPLUS.
char edf_hdr_struct::recording[81] |
Null-terminated string, contains recording field of header, is always empty when filetype is EDFPLUS or BDFPLUS.
char edf_hdr_struct::patientcode[81] |
Null-terminated string, is always empty when filetype is EDF or BDF.
char edf_hdr_struct::sex[16] |
Null-terminated string, is always empty when filetype is EDF or BDF.
char edf_hdr_struct::gender[16] |
Deprecated, use sex
.
char edf_hdr_struct::birthdate[16] |
Null-terminated string, is always empty when filetype is EDF or BDF.
int edf_hdr_struct::birthdate_day |
Birthdate: day: 1 - 31 (zero in case of EDF or BDF).
int edf_hdr_struct::birthdate_month |
Birthdate: month: 1 - 12 (zero in case of EDF or BDF).
int edf_hdr_struct::birthdate_year |
Birthdate: year: 1800 - 3000 (zero in case of EDF or BDF).
char edf_hdr_struct::patient_name[81] |
Null-terminated string, is always empty when filetype is EDF or BDF.
char edf_hdr_struct::patient_additional[81] |
Null-terminated string, is always empty when filetype is EDF or BDF.
char edf_hdr_struct::admincode[81] |
Null-terminated string, is always empty when filetype is EDF or BDF.
char edf_hdr_struct::technician[81] |
Null-terminated string, is always empty when filetype is EDF or BDF.
char edf_hdr_struct::equipment[81] |
Null-terminated string, is always empty when filetype is EDF or BDF.
char edf_hdr_struct::recording_additional[81] |
Null-terminated string, is always empty when filetype is EDF or BDF.
long long edf_hdr_struct::datarecord_duration |
Duration of a datarecord expressed in units of 100 nanoseconds.
long long edf_hdr_struct::datarecords_in_file |
Number of datarecords in the file.
long long edf_hdr_struct::annotations_in_file |
Number of annotations/events/triggers in the file.
edflib_param_t edf_hdr_struct::signalparam[EDFLIB_MAXSIGNALS] |
array of structs containing the signal parameters.