primaryModeNumberFromWVModeNumber
takes any valid WV mode number and returns the primary mode number
Declaration
[kMode,lMode] = primaryModeNumberFromWVModeNumber(kMode,lMode)
Parameters
kMode
integerlMode
integer
Returns
kMode
integerlMode
integer
Discussion
The function first confirms that the mode numbers are valid, and then converts any conjugate mode numbers to primary mode numbers.
The result is affected by the chosen conjugateDimension.