glidertools.optics.fluorescence_dark_count
- glidertools.optics.fluorescence_dark_count(flr, depth, percentile=5)
Calculates an in situ dark count from the fluorescence sensor.
The in situ dark count for the fluorescence sensor is calculated from the user-defined percentile between 300 and 400m.
- Parameters:
flr (numpy.ndarray or pandas.Series) – The fluorescence array after factory calibration.
depth (numpy.ndarray or pandas.Series) – The depth array in metres.
- Returns:
flr – The fluorescence data corrected for the in situ dark value.
- Return type:
numpy.ndarray or pandas.Series