ewoksid16b.tasks.utils.calibration.apply_calibration#

ewoksid16b.tasks.utils.calibration.apply_calibration(xy_ch, coefficients=[0, 1])[source]#

Apply calibration to the x- or y-axis

Parameters:
  • xy_ch – x or y -data of a stack

  • calibration – list of coefficients for polynomial equation

Returns:

calibrated x- or y-data