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
NearRealTimeCTDAS
CTDAS
Commits
4505a812
Commit
4505a812
authored
Feb 12, 2019
by
brunner
Browse files
No commit message
No commit message
parent
403e6135
Changes
1
Hide whitespace changes
Inline
Side-by-side
da/cosmo/statevector.py
View file @
4505a812
...
@@ -292,7 +292,8 @@ class StateVector(object):
...
@@ -292,7 +292,8 @@ class StateVector(object):
# Create members 1:nmembers and add to ensemble_members list
# Create members 1:nmembers and add to ensemble_members list
for
member
in
range
(
1
,
self
.
nmembers
):
for
member
in
range
(
1
,
self
.
nmembers
):
rands
=
np
.
random
.
uniform
(
low
=-
1.
,
high
=
1.
,
size
=
self
.
nparams
-
1
)
rands
=
np
.
random
.
uniform
(
low
=-
0.5
,
high
=
0.5
,
size
=
self
.
nparams
-
1
)
#rands = np.random.uniform(low=-1., high=1., size=self.nparams-1)
rands_bg
=
np
.
random
.
uniform
(
low
=-
0.05
,
high
=
0.05
,
size
=
1
)
rands_bg
=
np
.
random
.
uniform
(
low
=-
0.05
,
high
=
0.05
,
size
=
1
)
# if member == 1 and lag == 0:
# if member == 1 and lag == 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