Skip to content
Snippets Groups Projects
Verified Commit 12a1dd79 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Update dependencies, extend quality-function

parent 51532d1c
No related branches found
No related tags found
No related merge requests found
Pipeline #48148 failed
......@@ -20,6 +20,7 @@ KM3NeTTestData = "3249b543-581e-4f22-b7da-6c2cdf549b24"
KM3io = "2cab5852-6f21-4982-99b0-6a4792870cfb"
LandauDistribution = "6012e1b8-0df6-47e7-96ae-5acef29e6d22"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PGFPlotsX = "8314cec4-20b6-5062-9cdb-752b83310925"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
......@@ -39,7 +40,7 @@ DocStringExtensions = "^0.8, ^0.9"
HDF5 = "^0.16, ^0.17"
HTTP = "^1"
KM3NeTTestData = "^0.4.7"
KM3io = "^0.15.0"
KM3io = "^0.15.0 ^0.16.2"
LandauDistribution = "^0.2"
ProgressMeter = "^1"
RecipesBase = "^0.7, ^0.8, ^1"
......
......@@ -125,6 +125,8 @@ Base.angle(m1::T, m2::T) where T<:MuonScanfitCandidate = angle(m1.dir, m2.dir)
The quality of the fit, the larger the better, as used in e.g. Jpp.
"""
quality(χ², N, NDF) = N - 0.25 * χ² / NDF
quality(χ², NDF) = NDF - 0.25 * χ² / NDF
quality(χ²) = -χ^2
abstract type EstimatorModel end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment