cal_coefficients.py#

Calibration coefficient dataclasses for data conversion.

class seabirdscientific.cal_coefficients.AltimeterCoefficients(slope: float, offset: float)#
Parameters:
  • slope – coefficient

  • offset – coefficient

class seabirdscientific.cal_coefficients.ConductivityCoefficients(g: float, h: float, i: float, j: float, cpcor: float, ctcor: float, wbotc: float)#
Parameters:
class seabirdscientific.cal_coefficients.ECOCoefficients(slope: float, offset: float)#
Parameters:
  • slope – units/count for digital, units/V for analog

  • offset – dark counts for digital, dark voltage for analog

class seabirdscientific.cal_coefficients.Oxygen43Coefficients(soc: float, v_offset: float, tau_20: float, a: float, b: float, c: float, e: float, d0: float, d1: float, d2: float, h1: float, h2: float, h3: float)#
Parameters:
  • soc – linear scaling coefficient

  • v_offset – voltage at zero oxygen signal

  • tau_20 – sensor time constant tau(T,P) at 20 C, 1 atmosphere, 0 PSU; slope term in calculation of tau(T,P)

  • a – coefficient

  • b – coefficient

  • c – coefficient

  • e – coefficient

  • d0 – tau(T,P) coefficient

  • d1 – tau(T,P) coefficient

  • d2 – tau(T,P) coefficient

  • h1 – hysteresis correction coefficient

  • h2 – hysteresis correction coefficient

  • h3 – hysteresis correction coefficient

class seabirdscientific.cal_coefficients.Oxygen63Coefficients(a0: float, a1: float, a2: float, b0: float, b1: float, c0: float, c1: float, c2: float, e: float)#
Parameters:
  • a0 – coefficient

  • a1 – coefficient

  • a2 – coefficient

  • b0 – coefficient

  • b1 – coefficient

  • c0 – coefficient

  • c1 – coefficient

  • c2 – coefficient

  • e – coefficient

class seabirdscientific.cal_coefficients.PARCoefficients(im: float, a0: float, a1: float, multiplier: float)#
Parameters:
  • im – immersion coefficient

  • a0 – calibration slope

  • a1 – calibration offset

  • multiplier – 1.0 for units of μmol photons/m2*s

class seabirdscientific.cal_coefficients.PH18Coefficients(slope: float, offset: float)#
Parameters:
  • slope – calibration slope

  • offset – calibration offset

class seabirdscientific.cal_coefficients.PHSeaFETExternalCoefficients(k0: float = 0, k2: float = 0, k2_poly_order=0, k2f0: float = 0, k2f1: float = 0, k2f2: float = 0, k2f3: float = 0, fp_poly_order: float = 0, f0: float = 0, f1: float = 0, f2: float = 0, f3: float = 0, f4: float = 0, f5: float = 0, f6: float = 0)#
Parameters:
  • k0 – external K0 coefficient

  • k2 – external K2 coefficient

  • k2_poly_order – order of K2 pressure compensation calculation

  • k2f0 – f(P) coefficient

  • k2f1 – f(P) coefficient

  • k2f2 – f(P) coefficient

  • k2f3 – f(P) coefficient

  • fp_poly_order – order of pressure compensation calculation

  • f0 – f(P) coefficient

  • f1 – f(P) coefficient

  • f2 – f(P) coefficient

  • f3 – f(P) coefficient

  • f4 – f(P) coefficient

  • f5 – f(P) coefficient

  • f6 – f(P) coefficient

class seabirdscientific.cal_coefficients.PHSeaFETInternalCoefficients(kdf0: float = 0, kdf2: float = 0)#
Parameters:
  • kdf0 – internal K0 coefficient

  • kdf2 – internal K2 coefficient

class seabirdscientific.cal_coefficients.PressureCoefficients(pa0: float, pa1: float, pa2: float, ptca0: float, ptca1: float, ptca2: float, ptcb0: float, ptcb1: float, ptcb2: float, ptempa0: float, ptempa1: float, ptempa2: float)#
Parameters:
  • pa0 – coefficient

  • pa1 – coefficient

  • pa2 – coefficient

  • ptca0 – coefficient

  • ptca1 – coefficient

  • ptca2 – coefficient

  • ptcb0 – coefficient

  • ptcb1 – coefficient

  • ptcb2 – coefficient

  • ptempa0 – coefficient

  • ptempa1 – coefficient

  • ptempa2 – coefficient

class seabirdscientific.cal_coefficients.PressureDigiquartzCoefficients(c1: float, c2: float, c3: float, d1: float, d2: float, t1: float, t2: float, t3: float, t4: float, t5: float, AD590M: float | None = None, AD590B: float | None = None)#
Parameters:
  • a0 – coefficient

  • a1 – coefficient

  • a2 – coefficient

  • b0 – coefficient

  • b1 – coefficient

  • b2 – coefficient

  • c0 – coefficient

  • c1 – coefficient

  • c2 – coefficient

  • d0 – coefficient

  • d1 – coefficient

  • d2 – coefficient

class seabirdscientific.cal_coefficients.SPARCoefficients(im: float, a0: float, a1: float, conversion_factor: float)#
Parameters:
  • im – immersion coefficient

  • a0 – calibration slope

  • a1 – calibration offset

  • conversion_factor – 1.0 for units of μmol photons/m2*s

class seabirdscientific.cal_coefficients.TemperatureCoefficients(a0: float, a1: float, a2: float, a3: float)#
Parameters:
  • a0 – coefficient

  • a1 – coefficient

  • a2 – coefficient

  • a3 – coefficient

class seabirdscientific.cal_coefficients.TemperatureFrequencyCoefficients(g: float, h: float, i: float, j: float, f0: float)#
Parameters:
  • g – coefficient

  • h – coefficient

  • i – coefficient

  • j – coefficient

  • f0 – coefficient

class seabirdscientific.cal_coefficients.TemperatureSeaFETCoefficients(tdfa0: float, tdfa1: float, tdfa2: float, tdfa3: float)#
Parameters:
  • tdfa0 – temeperature coefficient

  • tdfa1 – temeperature coefficient

  • tdfa2 – temeperature coefficient

  • tdfa3 – temeperature coefficient

class seabirdscientific.cal_coefficients.Thermistor63Coefficients(ta0: float, ta1: float, ta2: float, ta3: float)#
Parameters:
  • ta0 – coefficient

  • ta1 – coefficient

  • ta2 – coefficient

  • ta3 – coefficient