From d93dc5dba5d9e00298038c3dac3b51aa554d2ca8 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sat, 10 May 2025 13:46:24 -0300 Subject: New time scaling --- log-fourier.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'log-fourier.hpp') 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 inverse(const std::vector& ĉ); }; -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& C, const std::vector& R, const std::vector& Ct, const std::vector& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real k); +void logFourierSave(const std::vector& C, const std::vector& R, const std::vector& Ct, const std::vector& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real shift); -bool logFourierLoad(std::vector& C, std::vector& R, std::vector& Ct, std::vector& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real k); +bool logFourierLoad(std::vector& C, std::vector& R, std::vector& Ct, std::vector& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β, unsigned log2n, Real Δτ, Real shift); std::tuple, std::vector> RddfCtdfCt(LogarithmicFourierTransform& fft, const std::vector& C, const std::vector& R, unsigned p, unsigned s, Real λ); -- cgit v1.2.3-70-g09d2