<< edf_get_physical_dim Functions for reading files edf_get_physical_minimum >>

edflib - Toolbox for reading and writing edf/ bdf files >> Functions for reading files > edf_get_physical_maximum

edf_get_physical_maximum

Returns the maximum physical value of signal edfsignal.

Calling Sequence

phys_max=edf_get_physical_maximum(path, edfsignal)
phys_max=edf_get_physical_maximum(edf_header, edfsignal)

Parameters

path:

string containing the path and name of the file

edf_header:

plist with header information from edfopen_file_readonly

edfsignal:

Minimum value is 1

phys_max:

maximum physical value of signal edfsignal

Description

Returns the maximum physical value of signal edfsignal.

Examples

phys_max=edf_set_physical_maximum(edf_getpath()+'/demos/demo.bdf',1);

[header_list]=edfopen_file_readonly(edf_getpath()+'/demos/demo.bdf', 0);
phys_max=edf_get_physical_maximum(header_list,1);
edf_close(header_list.handle);

See also

Authors


Report an issue
<< edf_get_physical_dim Functions for reading files edf_get_physical_minimum >>