maskForConjugateFourierCoefficients

a mask indicate the components that are redundant conjugates


Declaration

 mask = WVGeometryDoublyPeriodic.maskForConjugateFourierCoefficients(Nx,Ny,options);

Parameters

  • Nx grid points in the x-direction
  • Ny grid points in the y-direction
  • conjugateDimension (optional) set which dimension in the DFT grid is assumed to have the redundant conjugates (1 or 2), default is 2

Returns

  • matrix matrix containing linear indices

Discussion

Returns a ‘mask’ (matrices with 1s or 0s) indicating where the non-primary Hermitian conjugates are located in the DFT matrix.

Basic usage,

  NyquistMask = wvm.maskForConjugateFourierCoefficients(8,8,conjugateDimension=2);

will return a mask that contains 1 at the locations of the modes assumed conjugate.