diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-20 23:28:31 -0600 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-20 23:28:31 -0600 |
| commit | c93fdd6d39f8adf059a61ac7e1bc017699e8bfa7 (patch) | |
| tree | c46c8760cc447a2e3baff88e262501b4204842c5 /plot_llh/calc_fr_MCMC.py | |
| parent | 7f047af009d7e8dd1dee9511e36af3b2deca5237 (diff) | |
| download | GolemFlavor-c93fdd6d39f8adf059a61ac7e1bc017699e8bfa7.tar.gz GolemFlavor-c93fdd6d39f8adf059a61ac7e1bc017699e8bfa7.zip | |
Tue 20 Nov 23:28:31 CST 2018
Diffstat (limited to 'plot_llh/calc_fr_MCMC.py')
| -rw-r--r-- | plot_llh/calc_fr_MCMC.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plot_llh/calc_fr_MCMC.py b/plot_llh/calc_fr_MCMC.py index ad75043..1bf016a 100644 --- a/plot_llh/calc_fr_MCMC.py +++ b/plot_llh/calc_fr_MCMC.py @@ -13,8 +13,8 @@ from utils.enums import MixingScenario binning = np.logspace(np.log10(6e4), np.log10(1e7), 21) dimension = 6 -source = [1, 0, 0] -scenario = MixingScenario.T23 +source = [0, 1, 0] +scenario = MixingScenario.T13 def get_fr(theta, source, binning, dimension, scenario): sm_mixings = theta[:6] @@ -56,7 +56,7 @@ def get_fr(theta, source, binning, dimension, scenario): intergrated_measured_flux fr = averaged_measured_flux / np.sum(averaged_measured_flux) - return fr + return map(float, fr) if len(sys.argv)< 2: print sys.argv |
