The namespace for IO components of AqNWB. More...
Namespaces | |
| namespace | HDF5 |
| Namespace for all components of the HDF5 I/O backend. | |
Classes | |
| class | BaseDataType |
| Represents a base data type. More... | |
| class | ArrayDataSetConfig |
| The configuration for an array dataset. More... | |
| class | BaseIO |
| The BaseIO class is an abstract base class that defines the interface for input/output (IO) operations on a file. More... | |
| class | BaseRecordingData |
| The base class to represent recording data that can be extended. More... | |
| class | DataBlockGeneric |
| Generic structure to hold type-erased data and shape. More... | |
| class | DataBlock |
| Structure to hold data and shape for a typed data vector. More... | |
| struct | isAllowedStorageObjectType |
| struct | isAllowedStorageObjectType< StorageObjectType::Dataset > |
| struct | isAllowedStorageObjectType< StorageObjectType::Attribute > |
| class | ReadDataWrapper |
| Class for wrapping data objects (datasets or attributes) for reading data from a file. More... | |
| class | RecordingObjects |
| The RecordingObjects class provides an interface for managing and holding groups of RegisteredType objects used for recording during data acquisition. More... | |
Enumerations | |
| enum class | SearchMode { STOP_ON_TYPE = 1 , CONTINUE_ON_TYPE = 2 } |
| Enum class for specifying the search mode for findTypes. More... | |
| enum class | FileMode { Overwrite , ReadWrite , ReadOnly } |
| The access mode for the file. More... | |
Functions | |
| static AQNWB::Types::Status | writeTimeseriesData (std::shared_ptr< RecordingObjects > recording_objects, const AQNWB::Types::SizeType &containerInd, const AQNWB::Channel &channel, const std::vector< AQNWB::Types::SizeType > &dataShape, const std::vector< AQNWB::Types::SizeType > &positionOffset, const void *data, const void *timestamps, const void *controlInput=nullptr) |
| Write timeseries data to a recordingContainer dataset. | |
| static AQNWB::Types::Status | writeElectricalSeriesData (std::shared_ptr< RecordingObjects > recording_objects, const AQNWB::Types::SizeType &containerInd, const AQNWB::Channel &channel, const AQNWB::Types::SizeType &numSamples, const void *data, const void *timestamps, const void *controlInput=nullptr) |
| Write ElectricalSeries data to a recordingContainer dataset. | |
| static AQNWB::Types::Status | writeSpikeEventData (std::shared_ptr< RecordingObjects > recording_objects, const AQNWB::Types::SizeType &containerInd, const AQNWB::Types::SizeType &numSamples, const AQNWB::Types::SizeType &numChannels, const void *data, const void *timestamps, const void *controlInput=nullptr) |
| Write SpikeEventSeries data to a recordingContainer dataset. | |
| static AQNWB::Types::Status | writeAnnotationSeriesData (std::shared_ptr< RecordingObjects > recording_objects, const AQNWB::Types::SizeType &containerInd, const AQNWB::Types::SizeType &numSamples, const std::vector< std::string > data, const void *timestamps, const void *controlInput=nullptr) |
| Write AnnotationSeries data to a recordingContainer dataset. | |
The namespace for IO components of AqNWB.
Utility functions for NWB IO operations.
This namespace contains utility functions for helping with NWB IO operations, such as writing timeseries data, electrical series data, spike event data, and annotation series data to recordingContainer datasets.
The namespace for IO components of AqNWB
|
strong |
The access mode for the file.
|
strong |
|
inlinestatic |
Write AnnotationSeries data to a recordingContainer dataset.
| recording_objects | A shared pointer to the RecordingObjects instance. |
| containerInd | The index of the AnnotationSeries dataset within the AnnotationSeries containers. |
| numSamples | Number of samples in the time for the single event. |
| data | A vector of strings of data to write. |
| timestamps | A pointer to the timestamps block |
| controlInput | A pointer to the control block data (optional) |
|
inlinestatic |
Write ElectricalSeries data to a recordingContainer dataset.
| recording_objects | A shared pointer to the RecordingObjects instance. |
| containerInd | The index of the electrical series dataset within the electrical series group. |
| channel | The channel index to use for writing timestamps. |
| numSamples | Number of samples in the time, i.e., the size of the first dimension of the data parameter |
| data | A pointer to the data block. |
| timestamps | A pointer to the timestamps block. May be null if multidimensional TimeSeries and only need to write the timestamps once but write data multiple times. |
| controlInput | A pointer to the control block data (optional) |
|
inlinestatic |
Write SpikeEventSeries data to a recordingContainer dataset.
| recording_objects | A shared pointer to the RecordingObjects instance. |
| containerInd | The index of the SpikeEventSeries dataset within the SpikeEventSeries containers. |
| numSamples | Number of samples in the time for the single event. |
| numChannels | Number of channels in the time for the single event. |
| data | A pointer to the data block. |
| timestamps | A pointer to the timestamps block |
| controlInput | A pointer to the control block data (optional) |
|
inlinestatic |
Write timeseries data to a recordingContainer dataset.
| recording_objects | A shared pointer to the RecordingObjects instance. |
| containerInd | The index of the timeseries dataset within the timeseries group. |
| channel | The channel index to use for writing timestamps. |
| dataShape | The size of the data block. |
| positionOffset | The position of the data block to write to. |
| data | A pointer to the data block. |
| timestamps | A pointer to the timestamps block. May be null if multidimensional TimeSeries and only need to write the timestamps once but write data multiple times. |
| controlInput | A pointer to the control block data (optional) |