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
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
NIFTy
Commits
64034398
Commit
64034398
authored
Apr 06, 2021
by
Matteo.Guardiani
Browse files
New sane values
parent
cf83ba89
Pipeline
#97689
passed with stages
in 11 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
demos/getting_started_density.py
View file @
64034398
...
@@ -34,10 +34,10 @@ import nifty7 as ift
...
@@ -34,10 +34,10 @@ import nifty7 as ift
def
density_estimator
(
def
density_estimator
(
domain
,
pad
=
1.
,
cf_fluctuations
=
None
,
cf_azm_uniform
=
None
domain
,
pad
=
1.
,
cf_fluctuations
=
None
,
cf_azm_uniform
=
None
):
):
cf_azm_uniform_sane_default
=
(
0.01
,
1.0
)
cf_azm_uniform_sane_default
=
(
1e-4
,
1.0
)
cf_fluctuations_sane_default
=
{
cf_fluctuations_sane_default
=
{
"scale"
:
(
0.5
,
0.3
),
"scale"
:
(
0.5
,
0.3
),
"cutoff"
:
(
7
.0
,
3.0
),
"cutoff"
:
(
4
.0
,
3.0
),
"loglogslope"
:
(
-
6.0
,
3.0
)
"loglogslope"
:
(
-
6.0
,
3.0
)
}
}
...
...
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