Next: COLCOMP - Produces a colour composite of up to three two-dimensional NDFs
Up: Specifications of KAPPA applications
Previous: CLINPLOT - Draws a spatial grid of line plots for an axis of a cube NDF
CMULT
- Multiplies an NDF by a scalar
- Description:
- This application multiplies each pixel of an NDF by a scalar
(constant) value to produce a new NDF.
- Usage:
-
cmult in scalar out
-
- Parameters:
-
IN = NDF (Read)
-
Input NDF structure whose pixels are to be multiplied by a
scalar.
-
OUT = NDF (Write)
-
Output NDF structure.
-
SCALAR = _DOUBLE (Read)
-
The value by which the NDF's pixels are to be multiplied.
-
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:
- cmult a 12.5 b
- Multiplies all the pixels in the NDF called a by the constant
value 12.5 to produce a new NDF called b.
- cmult in=rawdata out=newdata scalar=-19
- Multiplies all the pixels in the NDF called rawdata by
19 to
give newdata.
-
Related Applications
:
- KAPPA: ADD,
CADD,
CDIV,
CSUB,
DIV,
MATHS,
MULT,
SUB.
- Implementation Status:
-
Next: COLCOMP - Produces a colour composite of up to three two-dimensional NDFs
Up: Specifications of KAPPA applications
Previous: CLINPLOT - Draws a spatial grid of line plots for an axis of a cube NDF
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