- class hdmf.monitor.DataChunkProcessor(data)¶
Initialize the DataChunkIterator
DataChunkIterator) – the DataChunkIterator to analyze
Recommend the chunk shape for the data array.
NumPy-style shape tuple describing the recommended shape for the chunks of the target array or None. This may or may not be the same as the shape of the chunks returned in the iteration process.
Recommend the initial shape for the data array.
This is useful in particular to avoid repeated resized of the target array when reading from this data iterator. This should typically be either the final size of the array or the known minimal shape of the array.
NumPy-style shape tuple indicating the recommended initial shape for the target array. This may or may not be the final full shape of the array, i.e., the array is allowed to grow. This should not be None.
Return the result of processing data fed by this DataChunkIterator
- abstract process_data_chunk(data_chunk)¶
- This method should take in a DataChunk,
and process it.
DataChunk) – a chunk to process
- abstract compute_final_result()¶
- Return the result of processing this stream
Should raise NotYetExhaused exception