polaris.ocean.tasks.cosine_bell.init.cosine_bell

polaris.ocean.tasks.cosine_bell.init.cosine_bell(max_value, ri, r)[source]

Compute values according to cosine bell function

Parameters
  • max_value (float) – Maximum value of the cosine bell function

  • ri (np.ndarray of type float) – Distance from the center of the cosine bell in meters

  • r (float) – Radius of the cosine bell in meters

Returns

f (np.ndarray of type float) – Cosine bell tracer values