@@ -99,3 +99,28 @@ Returns:
9999- ` D ` : A 3D matrix of size ` (Samples x Channels x 2) ` .
100100 - ` D(:, :, 1) ` : Minimum values.
101101 - ` D(:, :, 2) ` : Maximum values.
102+
103+ ### ` HEADER = pyraview.get_header(filename) `
104+ Reads the binary header from a Pyraview level file.
105+
106+ Arguments:
107+ - ` filename ` : String path to the file.
108+
109+ Returns:
110+ - ` HEADER ` : Struct containing metadata fields (` magic ` , ` version ` , ` dataType ` , ` channelCount ` , ` sampleRate ` , ` nativeRate ` , ` startTime ` , ` decimationFactor ` ).
111+
112+ ### ` obj = pyraview.Dataset(folderPath, [Name, Value...]) `
113+ Class representing a dataset of multi-resolution files.
114+
115+ Arguments:
116+ - ` folderPath ` : (Optional) String path to the folder containing level files.
117+ - ` NativeRate ` : (Optional) Original sampling rate.
118+ - ` NativeStartTime ` : (Optional) Start time.
119+ - ` Channels ` : (Optional) Number of channels.
120+ - ` DataType ` : (Optional) Data type string (e.g., 'int16').
121+ - ` decimationLevels ` : (Optional) Vector of decimation factors.
122+ - ` Files ` : (Optional) Cell array of filenames.
123+
124+ Methods:
125+ - ` [tVec, decimationLevel, sampleStart, sampleEnd] = obj.getLevelForReading(tStart, tEnd, pixels) `
126+ - ` [tVec, dataOut] = obj.getData(tStart, tEnd, pixels) `
0 commit comments