Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Katerina Chatziioannou
bayeswave
Commits
284a7ca9
Commit
284a7ca9
authored
Sep 30, 2020
by
Marcella Wijngaarden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dynamically set NCC (= don't break with less than 4 chains)
parent
3795d6bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/BayesWaveModel.c
src/BayesWaveModel.c
+2
-1
No files found.
src/BayesWaveModel.c
View file @
284a7ca9
...
...
@@ -1024,7 +1024,8 @@ void initialize_bayescbc(struct bayesCBC *bayescbc, struct Data *data, struct Ch
bayescbc
->
NP
=
bayescbc
->
NX
+
4
;
// total number of entries in the full parameter arrays NX+4
bayescbc
->
NS
=
7
;
// number of quasi-extrinsic parameters (alpha, sin(delta), psi, ellipticity, scale, phi0=2*phic, dt)
bayescbc
->
NC
=
chain
->
NC
;
// number of chains
bayescbc
->
NCC
=
4
;
// number of cold chains
bayescbc
->
NCC
=
1
;
// number of cold chains in cbc burnin
if
(
bayescbc
->
NC
>
1
)
bayescbc
->
NCC
=
(
int
)
bayescbc
->
NC
/
2
;
// number of cold chains in cbc burnin
bayescbc
->
NH
=
1000
;
// length of history
bayescbc
->
NQ
=
4
;
// number of mass ratios in global proposal
bayescbc
->
NM
=
1000
;
// number of chirp masses in global proposal
...
...
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