Skip to content
GitLab
Menu
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
58388158
Commit
58388158
authored
Jul 02, 2018
by
Martin Reinecke
Browse files
export functions
parent
a98f7e72
Changes
2
Hide whitespace changes
Inline
Side-by-side
nifty5/library/__init__.py
View file @
58388158
...
...
@@ -6,3 +6,4 @@ from .point_sources import PointSources
from
.poissonian_energy
import
PoissonianEnergy
from
.wiener_filter_curvature
import
WienerFilterCurvature
from
.wiener_filter_energy
import
WienerFilterEnergy
from
.smooth_sky
import
make_correlated_field
,
make_mf_correlated_field
nifty5/library/smooth_sky.py
View file @
58388158
def
make_correlated_field
(
s_space
,
amplitude_model
):
'''
Method for construction of correlated
sky model
Method for construction of correlated
fields
Parameters
----------
s_space : domain
of sky model
s_space :
Field
domain
amplitude_model : model for correlation structure
'''
...
...
@@ -30,16 +30,10 @@ def make_correlated_field(s_space, amplitude_model):
return
correlated_field
,
internals
def
make_
smooth_mf_sky_mod
el
(
s_space_spatial
,
s_space_energy
,
def
make_
mf_correlated_fi
el
d
(
s_space_spatial
,
s_space_energy
,
amplitude_model_spatial
,
amplitude_model_energy
):
'''
Method for construction of correlated sky model
Parameters
----------
s_space : domain of sky model
amplitude_model : model for correlation structure
Method for construction of correlated multi-frequency fields
'''
from
..
import
(
DomainTuple
,
Field
,
MultiField
,
PointwiseExponential
,
Variable
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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