#include "MtuFormat.h"#include "CDespike.h"#include "CSpikeStats.h"#include <iostream>#include <iomanip>#include <fstream>#include <string>#include <sstream>#include <algorithm>Go to the source code of this file.
Functions | |
| void | CleanComponent (TimeSeriesComponent &CurrentComponent, CDespike &Despiker, CSpikeStats &SpikeStats, ttsdata &NoiseTs) |
| int | main (void) |
Variables | |
| const double | filterfraction = 0.05 |
| const int | sectionlength = 4800 |
| const int | spikelength = 50 |
| const int | trailpoints = 10 |
| const int | nValueBins = 1000 |
| const int | nDerivBins = 1000 |
| const int | MinEstimates = 2 |
| const int | iterations = 1 |
| void CleanComponent | ( | TimeSeriesComponent & | CurrentComponent, | |
| CDespike & | Despiker, | |||
| CSpikeStats & | SpikeStats, | |||
| ttsdata & | NoiseTs | |||
| ) |
Definition at line 24 of file MtuDespike.cpp.
References CSpikeStats::AnalyseSpikes(), CSpikeStats::Data, TimeSeriesComponent::GetData(), and CSpikeStats::HeightThreshold.
Referenced by main().
| int main | ( | void | ) |
Definition at line 60 of file MtuDespike.cpp.
References CleanComponent(), TimeSeriesComponent::GetData(), MtuFormat::GetData(), TimeSeries::GetEx(), TimeSeries::GetEy(), TimeSeriesComponent::GetName(), TimeSeries::GetSamplerate(), TimeSeries::GetTime(), CSpikeStats::HeightFraction, infilename, CSpikeStats::nDerivBins, CSpikeStats::nValueBins, CSpikeStats::samplerate, CSpikeStats::Time, and MtuFormat::WriteData().
| const double filterfraction = 0.05 |
| const int iterations = 1 |
Definition at line 18 of file MtuDespike.cpp.
| const int MinEstimates = 2 |
Definition at line 17 of file MtuDespike.cpp.
| const int nDerivBins = 1000 |
Definition at line 16 of file MtuDespike.cpp.
| const int nValueBins = 1000 |
Definition at line 15 of file MtuDespike.cpp.
| const int sectionlength = 4800 |
Definition at line 12 of file MtuDespike.cpp.
| const int spikelength = 50 |
Definition at line 13 of file MtuDespike.cpp.
| const int trailpoints = 10 |
1.5.8