Commit 0c8a2610 authored by Theo Steininger's avatar Theo Steininger
Browse files

Merge branch 'rg_smoothing_width' into 'master'

Fix for RG smoothing width?

See merge request !154
parents ccec27cf dc16a255
Pipeline #14018 passed with stages
in 11 minutes and 25 seconds
......@@ -165,7 +165,9 @@ class LMSpace(Space):
return res
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)
# ---Added properties and methods---
......
......@@ -284,7 +284,7 @@ class RGSpace(Space):
return dists
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---
......
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