glidertools.optics.backscatter_dark_count

glidertools.optics.backscatter_dark_count(bbp, depth, percentile=5)

Calculates an in situ dark count from the backscatter sensor.

The in situ dark count for the backscatter sensor is calculated from the user-defined percentile between 200 and 400m.

Parameters:
  • bbp (numpy.ndarray or pandas.Series) – The total backscatter array after factory calibration in m-1.

  • depth (numpy.ndarray or pandas.Series) – The depth array in metres.

Returns:

bbp – The total backscatter data corrected for the in situ dark value.

Return type:

numpy.ndarray or pandas.Series