Commit dc16a255 authored by Theo Steininger's avatar Theo Steininger
Browse files

Fix for RG smoothing width?

parent e6576692
Pipeline #13982 passed with stage
in 6 minutes and 28 seconds
...@@ -165,7 +165,9 @@ class LMSpace(Space): ...@@ -165,7 +165,9 @@ class LMSpace(Space):
return res return res
def get_fft_smoothing_kernel_function(self, sigma): def get_fft_smoothing_kernel_function(self, sigma):
# FIXME why x(x+1) ? add reference to paper! # cf. "All-sky convolution for polarimetry experiments"
# by Challinor et al.
# http://arxiv.org/abs/astro-ph/0008228
return lambda x: np.exp(-0.5 * x * (x + 1) * sigma*sigma) return lambda x: np.exp(-0.5 * x * (x + 1) * sigma*sigma)
# ---Added properties and methods--- # ---Added properties and methods---
......
...@@ -284,7 +284,7 @@ class RGSpace(Space): ...@@ -284,7 +284,7 @@ class RGSpace(Space):
return dists return dists
def get_fft_smoothing_kernel_function(self, sigma): def get_fft_smoothing_kernel_function(self, sigma):
return lambda x: np.exp(-0.5 * np.pi*np.pi * x*x * sigma*sigma) return lambda x: np.exp(-2. * np.pi*np.pi * x*x * sigma*sigma)
# ---Added properties and methods--- # ---Added properties and methods---
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment