Go to the source code of this file.
static float summary_set |
( |
const std::vector< float > & |
tsvals | ) |
|
|
static |
Definition at line 103 of file FrameSaver.cxx.
105 if (tsvals.empty()) {
return 0.0; }
106 return tsvals.back();
static float summary_sum |
( |
const std::vector< float > & |
tsvals | ) |
|
|
static |
Definition at line 98 of file FrameSaver.cxx.
100 return std::accumulate(tsvals.begin(), tsvals.end(), 0);
Definition at line 223 of file FrameSaver.cxx.
225 auto const& all_traces = frame->traces();
226 const auto& ttinds = frame->tagged_traces(
tag);
228 for (
size_t index : ttinds) {
229 ret.push_back(all_traces->at(
index));
233 auto ftags = frame->frame_tags();
234 if (std::find(ftags.begin(), ftags.end(),
tag) == ftags.end()) {
return; }
235 ret.insert(ret.begin(), all_traces->begin(), all_traces->end());
Definition at line 240 of file FrameSaver.cxx.
242 for (
auto trace : traces) {
243 int chid =
trace->channel();
244 ret[chid].push_back(
trace);
M::value_type trace(const M &m)