next up previous 530
Next: CENTROID - Finds the centroids of star-like features in an NDF
Up: Specifications of KAPPA applications
Previous: CARPET - Creates a cube representing a carpet plot of an image


CDIV - Divides an NDF by a scalar

Description:
This application divides each pixel of an NDF  by a scalar (constant) value to produce a new NDF.

Usage:
cdiv in scalar out

Parameters:
IN = NDF (Read)
Input NDF structure whose pixels are to be divided by a scalar.
OUT = NDF (Write)
Output NDF structure.
SCALAR = _DOUBLE (Read)
The value by which the NDF's pixels are to be divided.
TITLE = LITERAL (Read)
A title for the output NDF. A null value will cause the title of the NDF supplied for Parameter IN to be used instead. [!]

Examples:
cdiv a 100.0 b
Divides all the pixels in the NDF called a by the constant value 100.0 to produce a new NDF called b.
cdiv in=data1 out=data2 scalar=-38
Divides all the pixels in the NDF called data1 by $ -$ 38 to give data2.

Related Applications :
KAPPA: ADD, CADD, CMULT, CSUB, DIV, MATHS, MULT, SUB.

Implementation Status:





next up previous 530
Next: CENTROID - Finds the centroids of star-like features in an NDF
Up: Specifications of KAPPA applications
Previous: CARPET - Creates a cube representing a carpet plot of an image

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council