@@ -33,6 +33,35 @@ Other compilers versions might work as well.
cmake -PYTHON_ENABLE_MODULE__pynesci=True
- or setting those options to true in the CMake GUI
# API
## Consumer
Every class is inside the namespace `nesci::consumer`.
**SpikeDetectorDataView**
```c++
classSpikeDetectorDataView{
conduit::float64_arrayGetTimesteps()const;
conduit::uint64_arrayGetNeuronIds()const;
};
```
SpikeDetectorDataView gives access to two arrays with the same number of entries. The length of these arrays represent the number of spikes that are described in the dataset. So, GetTimesteps()[i] represents the simulation time and GetNeuronIds()[i] represents the neuron id of the `i`th spike described in the dataset. *The data is not guaranteed to be sorted in any way.*
NestMultimeterDataView gives access to the data recorded by a nest multimeter. One dataset describes the values of multiple parameters of multiple neurons *for a sigle timestep*.