CSV export + DFT math operation

This commit is contained in:
Jan Käberich 2020-12-11 20:28:40 +01:00
parent 79a990af47
commit 6e55eb02dd
27 changed files with 935 additions and 52 deletions

View file

@ -25,7 +25,8 @@ public:
WindowFunction(Type type = Type::Hamming);
void apply(std::vector<std::complex<double>>& data);
void apply(std::vector<std::complex<double>>& data) const;
void reverse(std::vector<std::complex<double>>& data) const;
QWidget *createEditor();
@ -39,7 +40,7 @@ signals:
void changed();
private:
double getFactor(unsigned int n, unsigned int N);
double getFactor(unsigned int n, unsigned int N) const;
Type type;
// parameters for the different types. Not all windows use one and most only one.
// But keeping all parameters for all windows allows switching between window types