Next: CCG_COMB1x - Combines a stack of array lines into one line, using a variety of methods
Up: Routine Descriptions
Previous: CCG_BM3x - Combines data lines using a broadened median
CCG_CLIPx
- Sets any data outside a given value range BAD
- Description:
- This generic routine loops over all entries in RA. If any values
are outside the range RMIN to VMAX then they are set BAD.
- Invocation:
- CALL CCG_CLIPR( VMIN, VMAX, EL, ARRAY, NGOOD, STATUS )
- Arguments:
-
-
VMIN = ? (Given)
-
The minimum allowed value. All values below this are set BAD.
-
VMAX = ? (Given)
-
The maximum allowed value. All values above this are set BAD.
-
EL = INTEGER (Given)
-
The number of entries in ARRAY.
-
ARRAY( EL ) = ? (Given and Returned)
-
The list of values to be clipped within the given range. On
output this contains the clipped list.
-
NGOOD = INTEGER (Returned)
-
The number of values left after rejection.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
- There is a routine for real and double-precision: replace "x"
in the routine name by D or R as appropriate. The ARRAY, VMIN,
and VMAX arguments supplied to the routine must have the data type
specified.
Next: CCG_COMB1x - Combines a stack of array lines into one line, using a variety of methods
Up: Routine Descriptions
Previous: CCG_BM3x - Combines data lines using a broadened median
KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
9th March 2009
E-mail:ussc@star.rl.ac.uk
Copyright © 2010 Science and Technology Facilities Council