Reduces the size of an NDF by picking equally spaced pixels
!
) value is supplied, the first array
element is used. [!]
!
)
propagates the title from the input NDF to the output NDF. [!]
The compression is centred on the origin of the pixel co-ordinate Frame. That is, if a position has a value p(i) on the i’th pixel co-ordinate axis of the input NDF, then it will have position p(i)/COMPRESS(i) on the corresponding axis of the output NDF. The pixel index bounds of the output NDF are chosen accordingly.
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.
Any number of NDF dimensions is supported.