ctdcal.oxy_fittingΒΆ

Module for processing oxygen from CTD and bottle samples.

Functions

PMEL_oxy_weighted_residual

calculate_bottle_oxygen

Wrapper function for collecting parameters and calculating oxygen values from Winkler titrations.

calculate_dV_dt

Calculate the time derivative of oxygen voltage.

calculate_weights

Calculate weights (as a function of pressure) for weighted least squares fitting.

calibrate_oxy

Non-linear least squares fit chemical sensor oxygen against bottle oxygen.

correct_flask_vol

Correct flask volume for changes from thermal expansion of glass.

gather_oxy_params

Collect Winkler oxygen measurement parameters from LabVIEW data file headers.

hysteresis_correction

Remove hysteresis effects from oxygen concentration values.

load_flasks

Load oxygen flask information from .vol file.

load_winkler_oxy

Load Winkler oxygen titration data file.

match_sigmas

oxy_ml_to_umolkg

Convert dissolved oxygen from units of mL/L to micromol/kg.

oxy_umolkg_to_ml

Convert dissolved oxygen from units of micromol/kg to mL/L.

prepare_oxy

Calculate oxygen-related variables needed for calibration: sigma, oxygen solubility (OS), and bottle oxygen

sbe43_oxy_fit