Marsyas
0.6.0-alpha
|
Organizes a NN x 3 matrix given NN = N x M raw {period, phase, periodSalience} hypotheses. (if no periods were retrieved some manually defined periods will be assumed) More...
#include <TempoHypotheses.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
TempoHypotheses (std::string name) | |
TempoHypotheses (const TempoHypotheses &a) | |
~TempoHypotheses () |
Organizes a NN x 3 matrix given NN = N x M raw {period, phase, periodSalience} hypotheses. (if no periods were retrieved some manually defined periods will be assumed)
Input: N period and M phase hypotheses retrieved from the analysis of the initial induction window:
[x|Phasei|x|Phasei+1| ... |x|PhaseM] [PeriodSaliencei|Periodi|PeriodSaliencei+1|Periodi+1| ... |PeriodSalienceN|PeriodN]
Output: (NxM) x 3 matrix with M phases for each of the N predicted periods:
[ periodi | phasej | periodSaliencei ] | periodi | phasej+1 | periodSaliencei | | ... | ... | ... | | periodi | phaseM | periodSaliencei | | periodi+1 | phasej | periodSaliencei+1 | | periodi+1 | phasej+1 | periodSaliencei+1 | | ... | ... | ... | | periodN | phasej | periodSalienceN | | ... | ... | ... | [ periodN | phaseM ] periodSalienceN ]
Controls:
Definition at line 60 of file TempoHypotheses.h.
TempoHypotheses | ( | std::string | name | ) |
Definition at line 25 of file TempoHypotheses.cpp.
TempoHypotheses | ( | const TempoHypotheses & | a | ) |
Definition at line 33 of file TempoHypotheses.cpp.
~TempoHypotheses | ( | ) |
Definition at line 57 of file TempoHypotheses.cpp.
Implements MarSystem.
Definition at line 62 of file TempoHypotheses.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 116 of file TempoHypotheses.cpp.