ctdcal.oxy_fitting.hysteresis_correction

ctdcal.oxy_fitting.hysteresis_correction(oxygen, pressure, H1=- 0.033, H2=5000, H3=1450, freq=24)[source]

Remove hysteresis effects from oxygen concentration values.

Oxygen hysteresis can be corrected before conversion from volts to oxygen concentration, see equations_sbe.sbe43_hysteresis_voltage()

# TODO: should this just be a wrapper that calls sbe43_hysteresis_voltage()?

Parameters
  • oxygen (array-like) – Oxygen concentration values

  • pressure (array-like) – CTD pressure values (dbar)

  • H1 (scalar, optional) – Amplitude of hysteresis correction function (range: -0.02 to -0.05)

  • H2 (scalar, optional) – Function constant or curvature function for hysteresis

  • H3 (scalar, optional) – Time constant for hysteresis (seconds) (range: 1200 to 2000)

  • freq (scalar, optional) – CTD sampling frequency (Hz)

Returns

oxy_corrected – Hysteresis-corrected oxygen concentration values (with same units as input)

Return type

array-like

Notes

See Application Note 64-3 for more information.