Wrong call to effCall in calInterface.py
the nominal value of the efficiency is called via the wrong function/name, see diff below. Error is thrown when trying to fit efficiencyies from more than one spectrum. 'ERROR: WiedenhoeverEff has no attribute named "nominal_value" '
git diff:
diff --git a/hdtv/plugins/calInterface.py b/hdtv/plugins/calInterface.py index 8a937ff..b4c06d9 100644 --- a/hdtv/plugins/calInterface.py +++ b/hdtv/plugins/calInterface.py @@ -390,7 +390,7 @@ class EffCalIf(object):
for match in matches:
energy = match['fit'].ExtractParams()[0][0]['pos']
-
functionValue = self.spectra.dict[referenceID].effCal.nominal_value(
-
functionValue = self.spectra.dict[referenceID].effCal.value( energy) division = match['efficiency'].nominal_value / functionValue
-- 1.8.3.1