It would be nice to have these two functions for facilitating manipulation of large EDF files:
EDF.open(path::AbstractString, mode::AbstractString)::EDF.File: Opens the EDF file at path in the given mode, parses the header info etc. but does NOT load in the actual signal data.
EDF.load!(file::EDF.File, label::AbstractString): Loads the signal data specified by label into the relevant signal's samples field in file.
We have a better API than request 1 at this point IMO, and request 2 doesn't make much sense given that individual signals are not generally bytewise self-contiguous
It would be nice to have these two functions for facilitating manipulation of large EDF files:
EDF.open(path::AbstractString, mode::AbstractString)::EDF.File
: Opens the EDF file atpath
in the givenmode
, parses the header info etc. but does NOT load in the actual signal data.EDF.load!(file::EDF.File, label::AbstractString)
: Loads the signal data specified bylabel
into the relevant signal'ssamples
field infile
.