From 8901d19ae2db4c03b04de581fd954d1319198821 Mon Sep 17 00:00:00 2001 From: debarghy <debarghya.banerjee@ds.mpg.de> Date: Mon, 6 Apr 2020 11:10:12 +0200 Subject: [PATCH] M-filter --- cpp/kspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/kspace.cpp b/cpp/kspace.cpp index 08f991ed..1549b2da 100644 --- a/cpp/kspace.cpp +++ b/cpp/kspace.cpp @@ -361,7 +361,7 @@ void kspace<be, dt>::general_M_filter( for (unsigned int tcounter=0; tcounter<2*ncomp(fc); tcounter++) ((rnumber*)a)[2*ncomp(fc)*cindex + tcounter] *= ( // prefactor * (std::exp(-0.5*std::pow((2.9*argument),(68.0*(std::pow(ell,0.74))))) * std::sqrt(1.0 + (std::pow((argument/0.06),3.8))/(1.0 + (std::pow((argument/0.057),3.8)))))); - prefactor * (std::exp(-1.7*argument)) * std::sqrt(1.0 + 0.68*(std::pow((argument/0.065),4.6))/(1.0 + (std::pow((argument/0.065),4.6))))); + prefactor * (std::exp(-1.9392478*std::pow(argument,0.66231261))) * std::sqrt(1.0 + 2.48991336*(std::pow((argument/0.07444272),2.27175433))/(1.0 + (std::pow((argument/0.07444272),2.27175433))))); } }); } -- GitLab