From 88d5c33164724434a41b9c5064aa786a3cb51029 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sun, 20 Apr 2025 20:28:14 -0300 Subject: Change convention to fixed Γ₀, and changed behavior on NaN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log-fourier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'log-fourier.cpp') diff --git a/log-fourier.cpp b/log-fourier.cpp index f7d6f4b..47d5c5c 100644 --- a/log-fourier.cpp +++ b/log-fourier.cpp @@ -173,7 +173,7 @@ std::tuple, std::vector> RddfCtdfCt(LogarithmicFou Real estimateZ(LogarithmicFourierTransform& fft, const std::vector& C, const std::vector& Ct, const std::vector& R, const std::vector& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real β) { auto [RddfCt, dfCt] = RddfCtdfCt(fft, C, R, p, s, λ); - Real Γ₀ = 1 + τ₀; + Real Γ₀ = 1.0; return ((2 * Γ₀ * std::conj(Rt[0]) + pow(β, 2) * (RddfCt[0] * Ct[0] + dfCt[0] * std::conj(Rt[0]))) / Ct[0]).real(); } -- cgit v1.2.3-70-g09d2