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: