diffY
Differentiate a gridded field in the periodic y direction.
Declaration
derivative = diffY(field,options)
Parameters
fieldgridded field with the transform’s spatial shapeoptions.nderivative order; default1
Returns
derivativey derivative with the same shape asfield
Discussion
Differentiate a gridded field in the periodic y direction.
The derivative is evaluated spectrally. The input and output retain the same spatial layout, and derivative order n defaults to 1.
dudy = wvt.diffY(u);