gaussian_smooth_2d¶
-
seas.signalanalysis.gaussian_smooth_2d(matrix: numpy.ndarray, dj: float, dt: float) → numpy.ndarray[source]¶ This takes a 2-d matrix and applies a smoothing gaussian filter defined by the two sigma variables (dj, dt)
- Parameters
matrix – 2d matrix of values to smooth
= sigma to define the first dimension gaussian (dj) –
= sigma to define the second dimension gaussian (dt) –
- Returns
Smoothed 2d matrix