Calibration.remove_outliers

giant.calibration.calibration_class:

Calibration.remove_outliers(sigma_cutoff=3, hard_threshold=5)

This method removes outliers for all images within a camera object.

Outliers are identified using get_outliers() and through a hard threshold. The sigma_cutoff is passed to the same argument in the get_outliers(). The hard_threshold is used to identify possible outliers by simply thresholding the total pixel error (sqrt(x**2+y**2)). All possible outliers from either method are removed.

Parameters:
  • sigma_cutoff (Real) – the sigma threshold to use in the Median Absolute Deviation check

  • hard_threshold (Real) – The hard threshold to use in units of pixels