calix
Modules
Global constants used for calibrations. |
|
Module for calibrating the HICANN-X chips for usage in hagen mode, i.e. for multiply-accumulate operation. |
|
Functions
-
calix.
calibrate
(target: calix.common.base.TopLevelCalibTarget, options: Optional[calix.common.base.CalibOptions] = None, cache_paths: Optional[List[pathlib.Path]] = None, cache_read_only: Optional[bool] = False, connection: Optional = None) → calix.common.base.CalibResult Calibrate chip with cache functionality. Calibration function is deduced from target and options type. If cache_paths is not empty, searches for cached calibration result with same parameters in list order. If no cache is found executes calibration and caches in fist path with write access.
- Parameters
target – Target values for calibration.
options – Options for calibration.
cache_paths – List of possible cache locations. If list is empty, caching is skipped. If None defaults are used. Defaults are read-only shared wang cache path followed by user home cache.
cache_read_only – Only read cache file, do not create cache file if one does not exist.
- Returns
Calibration result