qibocal.auto.validators package#

qibocal.auto.validators.VALIDATORS = {'chi2': <class 'qibocal.auto.validators.chi2.Chi2Validator'>}#

Dict with available validators.

Submodules#

qibocal.auto.validators.chi2 module#

Chi2 validation

qibocal.auto.validators.chi2.CHI2_MAX = 0.05#

Max value for accepting fit result.

class qibocal.auto.validators.chi2.Chi2Validator(thresholds: Optional[List[float]] = FieldInfo(default=PydanticUndefined, default_factory=<function Chi2Validator.<lambda> at 0x7ff9d240d990>, extra={}))[source]#

Bases: object

thresholds: Optional[List[float]] = FieldInfo(default=PydanticUndefined, default_factory=<function Chi2Validator.<lambda>>, extra={})#

List of chi2 thresholds (must be ordered).

classmethod validate_thresholds(value)[source]#