Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sofia Calgaro committed Jan 24, 2025
1 parent 7a668e6 commit 1515dae
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions test/statistics/test_mbb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@ include("../../src/constants.jl")

@testset "test_mbb" begin

@info "Testing function for evaluating mbb (function 'mbb' in src/mbb.jl)"
@info "Testing function for computing mbb limits (function 'mbb' in src/mbb.jl)"

# frequentist half-life limit taken from GSTR-20-006
gerda_T12 = 1.83
gerda_low_limit = ZeroNuFit.mbb(1 / gerda_T12 * 10, G = constants.phase_space, M = constants.nme_gerda_up)
gerda_upp_limit = ZeroNuFit.mbb(1 / gerda_T12 * 10, G = constants.phase_space, M = constants.nme_gerda_low)
gerda_low_limit = ZeroNuFit.mbb(
1 / gerda_T12 * 10,
G = constants.phase_space,
M = constants.nme_gerda_up,
)
gerda_upp_limit = ZeroNuFit.mbb(
1 / gerda_T12 * 10,
G = constants.phase_space,
M = constants.nme_gerda_low,
)

expected_prl_low_limit = 79
expected_prl_upp_limit = 180
Expand Down

0 comments on commit 1515dae

Please sign in to comment.