### K Release Notes–-V2.6

K.1 New Commands

#### K.1 New Commands

The following new applications have been added:

COMPLEX
Converts between representations of complex data, such as extracting or combining real and imaginary parts.
MOCGEN
Creates a description of selected regions in an image using the IVOA’s Multi-Order Coverage (MOC) scheme.
PIXBIN
Places each input pixel into a bin defined by one or more index NDFs and creates an output NDF holding all the values in each bin.

#### K.2 General Changes

The following applications now support huge NDFs: ADD, ADD, CDIV, CMULT, CSUB, COLLAPSE, DIV, MFITTREND, MSTATS, MULT NDFCOPY, NDFTRACE, NUMB PERMAXES, STATS, and SUB. Huge means more than 2,147,483,647 elements in an array component.

#### K.3 Modified Commands

The following applications have been modified:

• It can now process complex data.
CHPIX
• It is easier now to make several edits by supplying the NDF sections and fill values in a text file. This is made possible new parameters called MODE and FILE. The default for MODE preserves the historic interactive behaviour.
DISPLAY
• Parameter KEYPOS(2) accepts negative values to instruct DISPLAY to plot the key aligned with the image. Thus setting KEY=TRUE and KEYPOS=[0,-1] will draw the colour-table ramp so that it abuts the image with its vertical extent matching the image, as commonly needed for journal graphics.
LINPLOT
• The XMAP parameter now has a new option called "LRLinear", which causes the $X$ axis to be annotated linearly increasing from left to right. This differs from the existing "Linear" option, which may sometimes produce annotated values that increase from right to left, depending on the nature of the WCS.
LISTSHOW
• New parameters called NDF and COMP allow the data, error, or variance values at the catalogued positions within a chosen NDF to be displayed. These use the interpolation method specified by the new Parameters METHOD and PARAMS. The pixel values are also written to a new output parameter called PIXVALS.
NDFCOMPRESS
• Parameter METHOD has a new option "BOTH" that compresses first with the SCALED scheme then applies the DELTA scheme.
REMQUAL
• A new parameter called CLEAR allows the corresponding bit within the NDF’s QUALITY array to be cleared.
SCATTER
• A new parameter called FIT allows a linear fit to the scatter plot to be calculated and displayed.
• The correlation coefficient is now calculated from the visible points alone. Any points outside the bounds of the plot are ignored. Previously, such points were not ignored.
• The reported number of points plotted now ignores any points outside the bounds of the plot.
SUBSTITUTE
• A new parameter called LUT allows multiple values to be changed simultaneously by supplying a table of old and new values in the form a text file. Interpolation between the values can be performed if required.
• A new parameter called TYPE allows the data type of the output NDF to be specified explicitly.