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
IMAGINE
Commits
24ff68bf
Commit
24ff68bf
authored
Sep 06, 2017
by
Theo Steininger
Browse files
Fixed parameters.
parent
88debf7f
Changes
4
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
24ff68bf
...
...
@@ -61,7 +61,7 @@ RUN apt-get update && apt-get install -y libblas3 libblas-dev \
gfortran
\
python-tk
#RUN apt-get install -y libopenmpi-dev openmpi-bin openmpi-doc
RUN
pip
install
numpy scipy matplotlib progressbar ipython
RUN
pip
install
numpy scipy matplotlib progressbar
ipython
==
5.3.0
RUN
git clone https://github.com/JohannesBuchner/MultiNest.git
WORKDIR
MultiNest/build
...
...
imagine/observables/observable.py
View file @
24ff68bf
...
...
@@ -27,7 +27,7 @@ class Observable(Field):
return
self
.
_ensemble_mean
def
_to_hdf5
(
self
,
hdf5_group
):
if
self
.
_ensemble_mean
is
not
None
:
if
hasattr
(
self
,
_ensemble_mean
)
:
return_dict
=
{
'ensemble_mean'
:
self
.
_ensemble_mean
}
else
:
return_dict
=
{}
...
...
imagine/observers/hammurapy/hammurapy.py
View file @
24ff68bf
...
...
@@ -169,7 +169,7 @@ class Hammurapy(Observer):
parameter_dict
=
self
.
basic_parameters
.
copy
()
# set the parameters for a numerical run
parameter_dict
[
'B_field_interp'
]
=
'
T
'
parameter_dict
[
'B_field_interp'
]
=
'
F
'
parameter_dict
[
'use_B_analytic'
]
=
'F'
self
.
_build_parameter_dict
(
...
...
imagine/observers/hammurapy/model_mixins/wmap3yr_mixin.py
View file @
24ff68bf
...
...
@@ -10,7 +10,7 @@ class WMAP3yrMixin(object):
self
.
__parameter_dict
=
{
'B_field_type'
:
'1'
,
'B_field_do_random'
:
'T'
,
'B_field_z_antisym'
:
'
0
'
,
'B_field_z_antisym'
:
'
F
'
,
}
super
(
WMAP3yrMixin
,
self
).
__init__
(
hammurabi_executable
,
conf_directory
,
...
...
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