glidertools.optics.par_fill_surface
- glidertools.optics.par_fill_surface(par, dives, depth, max_curve_depth=100)
Algebraically calculates the top 5 metres of the par profile.
The function removes the top 5 metres of par data, and then using an exponential equation calculates the complete profile.
- Parameters:
par (numpy.ndarray or pandas.Series) – The par data with units uE/m2/sec.
dives (numpy.ndarray or pandas.Series) – The dive count (round is down dives, 0.5 is up dives).
depth (numpy.ndarray or pandas.Series) – The depth array in metres.
max_curve_depth (int) – The maximum depth of which to fit the exponential function.
- Returns:
par_filled – The par data with the algebraically calculated top 5 metres.
- Return type:
numpy.ndarray or pandas.Series