#include <ApplyFilter.h>
Public Member Functions | |
| void | ShowProgress (const bool what) |
| Do we want visual feedback of the progess on the screen, if yes draw a simple progress indicator in text mode. | |
| gplib::rmat | GetWeightHistory () |
| Return a matrix with the values of the weights at iterations specified by weightsaveintervall. | |
| void | SetWeightSaveIntervall (const int intervall) |
| Set the distance between iterations at which the weights are saved. | |
| const std::vector < boost::shared_ptr < TimeSeriesComponent > > & | GetOutChannels () |
| Return the vector of output channels. | |
| const std::vector< std::vector < double > > & | GetEpsValues () |
| Return the vector of channel approximation errors. | |
| void | SetShift (const int theshift) |
| Set the shift between the input time series and the reference time series. | |
| void | AddInputChannel (TimeSeriesComponent &Channel) |
| Add an input channel to the filter. | |
| void | AddReferenceChannel (TimeSeriesComponent &Channel) |
| Add a reference channel to the filter, some AdaptiveFilter objects require only one reference. | |
| void | FilterData () |
| Filter the input channels with the current settings. | |
| ApplyFilter (AdaptiveFilter &TheFilter, bool keephistory=false) | |
| The constructor takes the AdaptiveFilter object that determines how the filtering is done, if keephistory is true we store the weights. | |
| virtual | ~ApplyFilter () |
Definition at line 15 of file ApplyFilter.h.
| ApplyFilter::ApplyFilter | ( | AdaptiveFilter & | TheFilter, | |
| bool | keephistory = false | |||
| ) |
The constructor takes the AdaptiveFilter object that determines how the filtering is done, if keephistory is true we store the weights.
Definition at line 4 of file ApplyFilter.cpp.
| ApplyFilter::~ApplyFilter | ( | ) | [virtual] |
Definition at line 13 of file ApplyFilter.cpp.
| void ApplyFilter::AddInputChannel | ( | TimeSeriesComponent & | Channel | ) |
Add an input channel to the filter.
Definition at line 35 of file ApplyFilter.cpp.
References TimeSeriesComponent::GetData().
Referenced by main().
| void ApplyFilter::AddReferenceChannel | ( | TimeSeriesComponent & | Channel | ) |
Add a reference channel to the filter, some AdaptiveFilter objects require only one reference.
Definition at line 42 of file ApplyFilter.cpp.
References TimeSeriesComponent::GetData(), and AdaptiveFilter::GetOutputLength().
Referenced by main().
| void ApplyFilter::FilterData | ( | ) |
Filter the input channels with the current settings.
Definition at line 51 of file ApplyFilter.cpp.
References AdaptiveFilter::AdaptFilter(), AdaptiveFilter::CalcOutput(), AdaptiveFilter::GetEpsilon(), AdaptiveFilter::GetInputLength(), AdaptiveFilter::GetOutputLength(), and AdaptiveFilter::GetWeightsAsVector().
Referenced by main().
| const std::vector< std::vector<double> >& ApplyFilter::GetEpsValues | ( | ) | [inline] |
Return the vector of channel approximation errors.
Definition at line 38 of file ApplyFilter.h.
Referenced by main().
| const std::vector<boost::shared_ptr<TimeSeriesComponent> >& ApplyFilter::GetOutChannels | ( | ) | [inline] |
Return the vector of output channels.
Definition at line 36 of file ApplyFilter.h.
Referenced by main().
| gplib::rmat ApplyFilter::GetWeightHistory | ( | ) |
Return a matrix with the values of the weights at iterations specified by weightsaveintervall.
Return a matrix with the values of the weights at iterations specified by weightsaveintervall. Internally we use a std::vector of ublas::vector and we construct the matrix in this routine. Therefore we return a copy and the access is computationally reasonably expensive. Mostly needed for final display of weights.
Definition at line 22 of file ApplyFilter.cpp.
Referenced by main().
| void ApplyFilter::SetShift | ( | const int | theshift | ) | [inline] |
Set the shift between the input time series and the reference time series.
Definition at line 40 of file ApplyFilter.h.
Referenced by main().
| void ApplyFilter::SetWeightSaveIntervall | ( | const int | intervall | ) | [inline] |
Set the distance between iterations at which the weights are saved.
Definition at line 34 of file ApplyFilter.h.
Referenced by main().
| void ApplyFilter::ShowProgress | ( | const bool | what | ) | [inline] |
Do we want visual feedback of the progess on the screen, if yes draw a simple progress indicator in text mode.
Definition at line 30 of file ApplyFilter.h.
Referenced by main().
1.5.8