nibcq.calibration.Settings
- class nibcq.calibration.Settings
Configuration settings for calibration validation and scheduling.
Contains the parameters that control when a device needs calibration and what temperature variations are acceptable. Used by the calibration system to determine if recalibration is required based on time elapsed and temperature changes.
- temperature_delta
Maximum acceptable temperature difference in Celsius between current temperature and last calibration temperature
- Type:
Examples
>>> settings = Settings(temperature_delta=2.5, days_to_calibration=1.5) >>> print(f"Max temp delta: {settings.temperature_delta}°C") >>> print(f"Calibration interval: {settings.days_to_calibration} days")