nibcq.calibration.Settings ========================== .. py: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. .. attribute:: temperature_delta Maximum acceptable temperature difference in Celsius between current temperature and last calibration temperature :type: float .. attribute:: days_to_calibration Number of days after which recalibration is required :type: float .. rubric:: 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") .. py:method:: __repr__() Return a string representation of the Settings. :returns: A formatted string showing temperature delta and days to calibration :rtype: str .. rubric:: Examples >>> settings = Settings(2.5, 1.5) >>> repr(settings) 'Settings(temperature_delta=2.5, days_to_calibration=1.5)'