diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-05-10 13:46:24 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-05-10 13:46:24 -0300 |
commit | d93dc5dba5d9e00298038c3dac3b51aa554d2ca8 (patch) | |
tree | adeb89ca396b67854aff1fec0c02458f4ad1fc91 /log-fourier.hpp | |
parent | 484fcc7097b6099585975a8fb0c4fab14a213e81 (diff) | |
download | code-d93dc5dba5d9e00298038c3dac3b51aa554d2ca8.tar.gz code-d93dc5dba5d9e00298038c3dac3b51aa554d2ca8.tar.bz2 code-d93dc5dba5d9e00298038c3dac3b51aa554d2ca8.zip |
New time scaling
Diffstat (limited to 'log-fourier.hpp')
-rw-r--r-- | log-fourier.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/log-fourier.hpp b/log-fourier.hpp index b1e4bd1..b5bb4c0 100644 --- a/log-fourier.hpp +++ b/log-fourier.hpp @@ -20,6 +20,7 @@ private: Real τₛ; Real ωₛ; Real sₛ; + Real shift; public: LogarithmicFourierTransform(unsigned N, Real k, Real Δτ, unsigned pad = 4, Real shift = 0.5); ~LogarithmicFourierTransform(); @@ -32,11 +33,11 @@ public: std::vector<Real> inverse(const std::vector<Complex>& ĉ); }; -std::string logFourierFile(std::string prefix, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real k); +std::string logFourierFile(std::string prefix, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real shift); -void logFourierSave(const std::vector<Real>& C, const std::vector<Real>& R, const std::vector<Complex>& Ct, const std::vector<Complex>& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real k); +void logFourierSave(const std::vector<Real>& C, const std::vector<Real>& R, const std::vector<Complex>& Ct, const std::vector<Complex>& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real shift); -bool logFourierLoad(std::vector<Real>& C, std::vector<Real>& R, std::vector<Complex>& Ct, std::vector<Complex>& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real k); +bool logFourierLoad(std::vector<Real>& C, std::vector<Real>& R, std::vector<Complex>& Ct, std::vector<Complex>& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real shift); std::tuple<std::vector<Complex>, std::vector<Complex>> RddfCtdfCt(LogarithmicFourierTransform& fft, const std::vector<Real>& C, const std::vector<Real>& R, unsigned p, unsigned s, Real λ); |