Permute an NDF’s pixel axes PERMAXES
[!]
If any WCS co-ordinate Frame has fewer axes then the number of pixel axes in the NDF, then the Frame is left unchanged if the specified permutation would change any of the high numbered surplus pixel axes. A warning message is issued if this occurs.
This routine correctly processes the AXIS, DATA, QUALITY, VARIANCE, LABEL, TITLE, UNITS, WCS, and HISTORY components of the input NDF and propagates all extensions.
Processing of bad pixels and automatic quality masking are supported.
All non-complex numeric data types can be handled. The data type of the input pixels is preserved in the output NDF.
Huge NDFs are supported.