#include "CMtuFormat.h"#include "CSpikeStats.h"#include "CTsSpectrum.h"#include "CDespike.h"#include <iostream>#include <fstream>#include <string>#include <sstream>#include <fftw3.h>Go to the source code of this file.
Functions | |
| void | Filter (const tcompdata &Filter, ttsdata &TimeSeries) |
| void | WriteSpec (string name, const CTsSpectrum &Spectrum) |
| void | WritePower (string name, const CTsSpectrum &Spectrum) |
| void | WriteSpike (ttsdata &SpikeForm, string name) |
| void | ApplyFilter (ttsdata &Component, string name, ttsdata &Time) |
| int | main () |
Variables | |
| const int | iterations = 20 |
| CMtuFormat | TsData |
| ofstream | diag |
| double | samplerate |
| const int | length = 100 |
| const int | trailratio = 4 |
| void ApplyFilter | ( | ttsdata & | Component, | |
| string | name, | |||
| ttsdata & | Time | |||
| ) |
Definition at line 115 of file SpikeSpectrum.cpp.
References CSpikeStats::AnalyseSpikes(), CSpikeStats::Data, Filter(), CSpikeStats::HeightFraction, CSpikeStats::HeightThreshold, CSpikeStats::nDerivBins, CSpikeStats::nValueBins, CSpikeStats::samplerate, and CSpikeStats::Time.
Referenced by main().
| void Filter | ( | const tcompdata & | Filter, | |
| ttsdata & | TimeSeries | |||
| ) |
| int main | ( | void | ) |
Definition at line 158 of file SpikeSpectrum.cpp.
References ApplyFilter(), diag, filterfraction, infilename, and TsData.
| void WritePower | ( | string | name, | |
| const CTsSpectrum & | Spectrum | |||
| ) |
Definition at line 88 of file SpikeSpectrum.cpp.
| void WriteSpec | ( | string | name, | |
| const CTsSpectrum & | Spectrum | |||
| ) |
Definition at line 75 of file SpikeSpectrum.cpp.
| void WriteSpike | ( | ttsdata & | SpikeForm, | |
| string | name | |||
| ) |
Definition at line 102 of file SpikeSpectrum.cpp.
| ofstream diag |
| const int iterations = 20 |
Definition at line 12 of file SpikeSpectrum.cpp.
Definition at line 17 of file SpikeSpectrum.cpp.
Referenced by ApplyWindow(), C1DMTSynthData::GetModelVector(), C1DAnisoMTSynthData::GetModelVector(), main(), dominates::operator()(), SWAnisoRoughness::SafeParallel(), SeismicModelDiff::SafeParallel(), MTRoughness::SafeParallel(), MTAnisoRoughness::SafeParallel(), and CombinedRoughness::SafeParallel().
Definition at line 16 of file SpikeSpectrum.cpp.
Referenced by TimeSeries::GetSamplerate(), and main().
| const int trailratio = 4 |
Definition at line 18 of file SpikeSpectrum.cpp.
| CMtuFormat TsData |
1.5.8