ctdcal.oxy_fitting.calculate_dV_dt¶
- ctdcal.oxy_fitting.calculate_dV_dt(oxy_volts, time, nan_replace=True)[source]¶
Calculate the time derivative of oxygen voltage.
- Parameters
oxy_volts (array-like) – Oxygen sensor voltage output
time (array-like) – Time from oxygen sensor (must be same length as oxy_volts)
nan_replace (bool, optional) – Replace nans in time derivative with the mean value
- Returns
dV_dt – Time derivative of oxygen voltage
- Return type
array-like