diffY

Differentiate a gridded field in the periodic y direction.


Declaration

 derivative = diffY(field,options)

Parameters

  • field gridded field with the transform’s spatial shape
  • options.n derivative order; default 1

Returns

  • derivative y derivative with the same shape as field

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);

This site uses Just the Docs, a documentation theme for Jekyll.