LOGAR

Takes the logarithm (specified base) of an NDF data structure

Description:

This routine takes the logarithm to a specified base of each pixel of a NDF  to produce a new NDF data structure.

Usage:

logar in out base

Parameters:

BASE = LITERAL (Read)
The base of the logarithm to be applied. A special value "Natural" gives natural (base-e) logarithms.
IN = NDF (Read)
Input NDF data structure.
OUT = NDF (Write)
Output NDF data structure being the logarithm of the input NDF.
TITLE = LITERAL (Read)
The title for the output NDF. A null value will cause the title of the NDF supplied for Parameter IN to be used instead. [!]

Examples:

logar a b 10
This takes logarithms to base ten of the pixels in the NDF called a, to make the NDF called b. NDF b inherits its title from a.
logar base=8 title="HD123456" out=b in=a
This takes logarithms to base eight of the pixels in the NDF called a, to make the NDF called b. NDF b has the title "HD123456".

Related Applications

KAPPA: LOG10, LOGE, EXP10, EXPE, EXPON, POW; FIGARO: IALOG, ILOG, IPOWER.

Implementation Status: