GAMMA Interferometric Point Target Analysis Software (IPTA): Reference Manual


npt

ANSI-C program: npt.c

NAME
npt - determine number of points in a point list

SYNOPSIS
npt <plist> [pmask]

<plist> (input) point list (int)
[pmask] (input) point data stack of mask values (uchar, pmask[i]=0 excludes point i)

EXAMPLE
npt testsite.plist testsite.pmask

Reads the input point list, counts the number of points and the number of valid points (point for which the mask value is non-zero and writes these two numbers to standard output.

INSTALLATION
Source code npt.c in ./IPTA/src, executable version npt in ./IPTA/bin

DESCRIPTION
For an existing point list npt counts the number of points and the number of valid points (point for which the mask value is non-zero and writes these two numbers to standard output.

The number of points should correpsond to the point list file size divided by 8 (as integer values are used for the range and azimuth line coordinates of each point).

The number of valid points depends on the flags in the mask file. A 0 in the mask file indicates that a point is not a valid point.

OPTIONS
none.

SEE ALSO
ipta.h.


© Copyrights for Documentation, Users Guide and Reference Manual by Gamma Remote Sensing, 2003.
UW, CW, TS, last change 20-Feb-2003.