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
MTIP
spinifel
Commits
390428af
Commit
390428af
authored
Mar 02, 2022
by
Hsing-Yin Chang
Browse files
make some corrections
parent
eeb23064
Changes
1
Hide whitespace changes
Inline
Side-by-side
spinifel/legion/autocorrelation.py
View file @
390428af
...
...
@@ -347,8 +347,8 @@ def solve_ac(generation,
alambda
=
1
# rlambdas = Mtot/Ntot * 1e2**(np.arange(N_procs) - N_procs/2)
rlambdas
=
Mtot
/
Ntot
*
2
**
(
np
.
arange
(
N_procs
)
-
N_procs
/
2
)
flambda
=
1e5
*
pow
(
10
,
np
.
arange
(
N_procs
)
-
N_procs
//
2
)
rlambdas
=
Mtot
/
Ntot
*
2
**
(
np
.
arange
(
N_procs
)
-
N_procs
/
2
)
.
astype
(
np
.
float
)
flambda
=
1e5
*
10
**
(
np
.
arange
(
N_procs
)
-
N_procs
//
2
)
.
astype
(
np
.
float
)
summary
=
Region
((
N_procs
,),
{
"rank"
:
pygion
.
int32
,
"rlambda"
:
pygion
.
float32
,
"v1"
:
pygion
.
float32
,
"v2"
:
pygion
.
float32
})
...
...
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