profilometer.tilt_correction

profilometer.tilt_correction(z, type='lower')

Correct tilt by subtracting a plane from the 2d height profile.

Parameters:
  • z (2d_array) – Z coordinates / height profile.
  • type (str) –

    Type of subtraction:

    • lower: apply correction to lower plane data
    • upper: apply correction to upper plane data
    • mean: apply correction to all data
Returns:

corrected height profile.