fraudtwin.load_calibration_profile#

fraudtwin.load_calibration_profile(path)[source][source]#

Load and validate a YAML calibration profile.

Parameters:

path (Path | str) – YAML profile path written by write_calibration_profile().

Return type:

CalibrationProfile

Returns:

The validated immutable profile.

Raises:

ValueError – If the path, YAML root, or profile schema is invalid.