Added more specific default calibration values

This commit is contained in:
Anne de Jong 2023-01-04 12:09:05 +01:00
parent ab07acd60c
commit 44c3e390b3

View File

@ -153,10 +153,13 @@ class CalSetting:
qty: Qty qty: Qty
class CalibrationSettings: class CalibrationSettings:
one = CalSetting('94 dB SPL', 94.0 , 1.0, SIQtys.AP) one = CalSetting('94 dB SPL', 94.0 , 10**(94/20)*2e-5, SIQtys.AP.value)
two = CalSetting('114 dB SPL', 114.0 , 10.0, SIQtys.AP) two = CalSetting('1 Pa rms', 93.98, 1.0, SIQtys.AP.value)
three = CalSetting('114 dB SPL', 114.0 , 10**(114/20)*2e-5, SIQtys.AP.value)
four = CalSetting('10 Pa rms', 113.98, 10.0, SIQtys.AP.value)
five = CalSetting('93.7 dB SPL', 93.7 , 1.0, SIQtys.AP.value)
types = (one, two) types = (one, two, three, four, five)
default = one default = one
default_index = 0 default_index = 0