Public Types | |
enum | Sorting : char { none = 0, by_id = 1, by_time = 2 } |
Public Member Functions | |
std::tuple< double, double > | getTimes () const |
Spikes | get (const nonstd::optional< Selection > &node_ids=nonstd::nullopt, const nonstd::optional< double > &tstart=nonstd::nullopt, const nonstd::optional< double > &tstop=nonstd::nullopt) const |
const SpikeTimes & | getRawArrays () const |
SpikeTimes | getArrays (const nonstd::optional< Selection > &node_ids=nonstd::nullopt, const nonstd::optional< double > &tstart=nonstd::nullopt, const nonstd::optional< double > &tstop=nonstd::nullopt) const |
Sorting | getSorting () const |
Spikes bbp::sonata::SpikeReader::Population::get | ( | const nonstd::optional< Selection > & | node_ids = nonstd::nullopt , |
const nonstd::optional< double > & | tstart = nonstd::nullopt , |
||
const nonstd::optional< double > & | tstop = nonstd::nullopt |
||
) | const |
Return spikes with all those node_ids between 'tstart' and 'tstop'
SpikeTimes bbp::sonata::SpikeReader::Population::getArrays | ( | const nonstd::optional< Selection > & | node_ids = nonstd::nullopt , |
const nonstd::optional< double > & | tstart = nonstd::nullopt , |
||
const nonstd::optional< double > & | tstop = nonstd::nullopt |
||
) | const |
Return the node_ids and timestamps vectors with all node_ids between 'tstart' and 'tstop'
const SpikeTimes& bbp::sonata::SpikeReader::Population::getRawArrays | ( | ) | const |
Return the raw node_ids and timestamps vectors
Sorting bbp::sonata::SpikeReader::Population::getSorting | ( | ) | const |
Return the way data are sorted ('none', 'by_id', 'by_time')
std::tuple<double, double> bbp::sonata::SpikeReader::Population::getTimes | ( | ) | const |
Return (tstart, tstop) of the population