Writes n physical samples (uV, mA, Ohm) belonging to one signal where n is the samplefrequency of the signal.
edfwrite_psamples(edf_handle, data_vec)
: a integer containing the file handle of the opened bdf/edf-file
: data vector belonging to one signal. The size must be the samplefrequency of the signal.
Writes n physical samples (uV, mA, Ohm) from data_vec belonging to one signal where n is the samplefrequency of the signal. The physical samples will be converted to digital samples using the values of physical maximum, physical minimum, digital maximum and digital minimum. The number of samples written is equal to the samplefrequency of the signal. Call this function for every signal in the file. The order is important! When there are 4 signals in the file, the order of calling this function must be: signal 0, signal 1, signal 2, signal 3, signal 0, signal 1, signal 2, etc.
All parameters must be already written into the bdf/edf-file.