Documentation
¶
Index ¶
- Constants
- Variables
- func DigitalMaxs(digmaxs []string) func(*Header) error
- func DigitalMins(digmins []string) func(*Header) error
- func Duration(dur string) func(*Header) error
- func Labels(labels []string) func(*Header) error
- func LocalPatientID(LPID string) func(*Header) error
- func LocalRecordID(LRID string) func(*Header) error
- func MarshalBDF(edf *BDF) (buf []byte, err error)
- func MarshalEDF(edf *EDF) (buf []byte, err error)
- func NSReserved(nsreserved []string) func(*Header) error
- func NumBytes(numbytes string) func(*Header) error
- func NumDataRecord(nr string) func(*Header) error
- func NumSamples(numsamples []string) func(*Header) error
- func NumSignal(ns string) func(*Header) error
- func PhysicalDimensions(phydims []string) func(*Header) error
- func PhysicalMaxs(phymaxs []string) func(*Header) error
- func PhysicalMins(phymins []string) func(*Header) error
- func Prefilters(prefilters []string) func(*Header) error
- func Reserved(res string) func(*Header) error
- func Startdate(startdate string) func(*Header) error
- func Starttime(starttime string) func(*Header) error
- func TransducerTypes(transducerTypes []string) func(*Header) error
- func Version(number string) func(*Header) error
- type BDF
- type BDFData
- type EDF
- type EDFData
- type Header
Constants ¶
View Source
const ( FixedHeaderBytes = 256 VariableHeaderBytes = 256 EDFDataByteSize = 2 BDFDataByteSize = 3 )
Variables ¶
View Source
var BDFVersion = [8]byte{'\xFF', '\x42', '\x49', '\x4F', '\x53', '\x45', '\x4D', '\x49'}
View Source
var EDFVersion = [8]byte{'\x48', '\x32', '\x32', '\x32', '\x32', '\x32', '\x32', '\x32'}
Functions ¶
func PhysicalDimensions ¶
PhysicalDimensions setter
func TransducerTypes ¶
TransducerTypes setter
Types ¶
type BDF ¶
func UnmarshalBDF ¶
type BDFData ¶
type BDFData struct {
Signals [][]int32
// contains filtered or unexported fields
}
BDFData holds one bdf data record
type EDF ¶
func UnmarshalEDF ¶
type EDFData ¶
type EDFData struct {
Signals [][]int16
// contains filtered or unexported fields
}
EDFData holds one edf data record
Click to show internal directories.
Click to hide internal directories.