Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
dc16a255
There was a problem fetching the pipeline summary.
Commit
dc16a255
authored
7 years ago
by
Theo Steininger
Browse files
Options
Downloads
Patches
Plain Diff
Fix for RG smoothing width?
parent
e6576692
No related branches found
No related tags found
1 merge request
!154
Fix for RG smoothing width?
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nifty/spaces/lm_space/lm_space.py
+3
-1
3 additions, 1 deletion
nifty/spaces/lm_space/lm_space.py
nifty/spaces/rg_space/rg_space.py
+1
-1
1 addition, 1 deletion
nifty/spaces/rg_space/rg_space.py
with
4 additions
and
2 deletions
nifty/spaces/lm_space/lm_space.py
+
3
−
1
View file @
dc16a255
...
@@ -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---
...
...
This diff is collapsed.
Click to expand it.
nifty/spaces/rg_space/rg_space.py
+
1
−
1
View file @
dc16a255
...
@@ -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---
...
...
This diff is collapsed.
Click to expand it.
Theo Steininger
@theos
mentioned in issue
#154 (closed)
·
7 years ago
mentioned in issue
#154 (closed)
mentioned in issue #154
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment