Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
60c6859d
Commit
60c6859d
authored
Jul 02, 2018
by
Martin Reinecke
Browse files
cosmetics
parent
3758aaa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/amplitude_model.py
View file @
60c6859d
import
numpy
as
np
from
..domains
import
PowerSpace
,
UnstructuredDomain
from
..domains.power_space
import
PowerSpace
from
..domains.unstructured_domain
import
UnstructuredDomain
from
..field
import
Field
from
..multi
import
MultiField
from
..multi
.multi_field
import
MultiField
from
..sugar
import
makeOp
,
sqrt
...
...
@@ -22,11 +23,11 @@ def make_amplitude_model(s_space, Npixdof, ceps_a, ceps_k, sm, sv, im, iv,
Npixdof : #pix in dof_space
ceps_a, ceps_k0 : Smoothnessparameters in ceps_kernel
ceps_a, ceps_k0 : Smoothness
parameters in ceps_kernel
eg. ceps_kernel(k) = (a/(1+(k/k0)**2))**2
a = ceps_a, k0 = ceps_k0
sm, sv : slope_mean = expected exponent of powerlaw (e.g. -4),
sm, sv : slope_mean = expected exponent of power
law (e.g. -4),
slope_variance (default=1)
im, iv : y-intercept_mean, y-intercept_variance of power_slope
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment