Coverage for src / zooc / run / temp_scan_methods.py: 92%

13 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2025-12-11 21:45 +0000

1"""Temperature scan during calibration.""" 

2from __future__ import annotations 

3 

4from enum import unique 

5from typing import override 

6 

7from klipper_utils.klipper_choice import KlipperChoice 

8 

9from .temps_scan import TempScanFull 

10 

11 

12@unique 

13class TempsScanMethods(KlipperChoice): 

14 """Methods to scan through bed and extruder temperatures where the MeasureMethods is performed.""" 

15 

16 # SIMPLE = ... 

17 # """Scan keeping the bed/extruder at reference temperatures.""" 

18 # SIMPLE is not working. Cannot build interpolator with only 2 simple scans 

19 

20 FULL = TempScanFull 

21 """Scan all <bed_temps> & <extruder_temps> temperatures, i.e. full matrix.""" 

22 

23 @classmethod 

24 @override 

25 def get_default(cls) -> TempsScanMethods: 

26 return TempsScanMethods.FULL