ctdcal.equations_sbe.sbe43_hysteresis_voltage

ctdcal.equations_sbe.sbe43_hysteresis_voltage(volts, p, coefs, sample_freq=24)[source]

SBE equation for removing hysteresis from raw voltage values. This function must be run before the sbe43 conversion function above.

Oxygen hysteresis can be corrected after conversion from volts to oxygen concentration, see oxy_fitting.hysteresis_correction()

Parameters
  • volts (array-like) – Raw voltage

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

  • coefs (dict) – Dictionary of calibration coefficients (H1, H2, H3, offset)

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

Returns

volts_corrected – Hysteresis-corrected voltage

Return type

array-like

Notes

The hysteresis algorithm is backward-looking so scan 0 must be skipped (as no information is available before the first scan).

See Application Note 64-3 for more information.