Changes
Page history
Update VItamin and Bilby with Different Noises
authored
Jun 01, 2021
by
Wei Changfeng
Show whitespace changes
Inline
Side-by-side
VItamin-and-Bilby-with-Different-Noises.md
View page @
2d57bb19
...
@@ -54,32 +54,42 @@ Fig.14 random seed = 10000
...
@@ -54,32 +54,42 @@ Fig.14 random seed = 10000
We did PE run provided by Bilby twice to see the consistency of the results.
We did PE run provided by Bilby twice to see the consistency of the results.
## (1) 4 parameters
## (1) 4 parameters
### (i) posterior
### (i) posterior
Fig.15


Fig.16


### (ii) JS divergence
### (ii) JS divergence
#### (a) chirp mass
#### (a) chirp mass
JSD = 0.0498
JSD = 0.0498
Fig.17


#### (b) mass ratio
#### (b) mass ratio
JSD = 0.0462
JSD = 0.0462
Fig.18


#### (c) distance
#### (c) distance
JSD = 0.0581
JSD = 0.0581
Fig.19


It can be seen that the consistency of results is good.
It can be seen that the consistency of results is good.
## (2) 15 parameters
## (2) 15 parameters
### (i) posterior
### (i) posterior
Fig.20


Fig.21


### (ii) JS divergence
### (ii) JS divergence
#### (a) chirp mass
#### (a) chirp mass
JSD = 0.0438
JSD = 0.0438
Fig.22


#### (b) mass ratio
#### (b) mass ratio
JSD = 0.0472
JSD = 0.0472
Fig.23


#### (c) distance
#### (c) distance
JSD = 0.0359
JSD = 0.0359
Fig.24


It can be seen that the consistency of results is good.
It can be seen that the consistency of results is good.
Therefore, two tutorial scripts(4 and 15 parameters) can be accepted that they ran well on my laptop.
Therefore, two tutorial scripts(4 and 15 parameters) can be accepted that they ran well on my laptop.
...
@@ -152,49 +162,64 @@ result = bilby.run_sampler(
...
@@ -152,49 +162,64 @@ result = bilby.run_sampler(
## (3) 15 parameters with (m1,m2) instead of (chirp mass, mass ratio)
## (3) 15 parameters with (m1,m2) instead of (chirp mass, mass ratio)
We get results with good consistency in the sections above. This is to test if (m1,m2) will decrease the convergence.
We get results with good consistency in the sections above. This is to test if (m1,m2) will decrease the convergence.
### (i) posterior
### (i) posterior
Fig.25


Fig.26


### (ii) JS divergence
### (ii) JS divergence
#### (a) m1
#### (a) m1
JSD = 0.0372
JSD = 0.0372
Fig.27


#### (b) m2
#### (b) m2
JSD = 0.0459
JSD = 0.0459
Fig.28


#### (a) distance
#### (a) distance
JSD = 0.0336
JSD = 0.0336
Fig.29


It can be seen that the consistency of results is still good. Hence we decide to next test how BH encounter performs in the PE run.
It can be seen that the consistency of results is still good. Hence we decide to next test how BH encounter performs in the PE run.
# 4. BH encounter
# 4. BH encounter
## (1) BH enoucnter with marginalization(distance, time, phase)
## (1) BH enoucnter with marginalization(distance, time, phase)
### (i) posterior
### (i) posterior
Fig.30


Fig.31


### (ii) JS divergence
### (ii) JS divergence
#### (a) m1
#### (a) m1
JSD = 0.1658
JSD = 0.1658
Fig.32


#### (b) m2
#### (b) m2
JSD = 0.1759
JSD = 0.1759
Fig.33


#### (a) distance
#### (a) distance
JSD = 0.1096
JSD = 0.1096
Fig.34


Wrong template (using BBH template to model BH encounter) reduces the consistency of results.
Wrong template (using BBH template to model BH encounter) reduces the consistency of results.
## (2) BH enoucnter without marginalization(distance, time, phase)
## (2) BH enoucnter without marginalization(distance, time, phase)
### (i) posterior
### (i) posterior
Fig.35


Fig.36


### (ii) JS divergence
### (ii) JS divergence
#### (a) m1
#### (a) m1
JSD = 0.6390
JSD = 0.6390
Fig.37


#### (b) m2
#### (b) m2
JSD = 0.4551
JSD = 0.4551
Fig.38


#### (a) distance
#### (a) distance
JSD = 0.2937
JSD = 0.2937
Fig.39


Lack of Marginalization of distance, phase and time reduces the consistency of results further.
Lack of Marginalization of distance, phase and time reduces the consistency of results further.
...
@@ -205,10 +230,14 @@ https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/
...
@@ -205,10 +230,14 @@ https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/
https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/master/2021_05/test_2
https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/master/2021_05/test_2
Though they produced the same number of samples this time, I checked the first ten lines of the sample files and they are not the same.
Though they produced the same number of samples this time, I checked the first ten lines of the sample files and they are not the same.
### (i) test 1
### (i) test 1
Fig.40


Fig.41


### (i) test 2
### (i) test 2
Fig.42


Fig.43


## (2) Fast tutorial using cpnest sampler.
## (2) Fast tutorial using cpnest sampler.
The result still can't be reproduced exactly the same. All the files are uploaded here:
The result still can't be reproduced exactly the same. All the files are uploaded here:
...
@@ -216,6 +245,8 @@ https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/
...
@@ -216,6 +245,8 @@ https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/
https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/master/2021_05/test_cpnest_2
https://gilsay.physics.gla.ac.uk/gitlab/wei.changfeng/weichangfeng_project/tree/master/2021_05/test_cpnest_2
They produced the different number of samples. I checked the first ten lines of the sample files and they are not the same.
They produced the different number of samples. I checked the first ten lines of the sample files and they are not the same.
### (i) test 1
### (i) test 1
Fig.44


### (i) test 2
### (i) test 2
Fig.45


\ No newline at end of file