- adjust example main.cpp for test of rawmerge.hpp

- add getter methods including get_num_channels in rawmerge.hpp
This commit is contained in:
Mario Fink
2020-08-11 16:07:48 +02:00
parent 99e10a4f41
commit 9bbbada6c9
2 changed files with 8 additions and 0 deletions

View File

@@ -65,6 +65,12 @@ public:
return this->timeseries_;
}
// get number of channels
unsigned long int get_num_channels()
{
return this->channels_.size();
}
// get array representation i-th channel
std::vector<double> get_channel(long unsigned int chidx)
{