next up previous 623
Next: SCULIB_COPYB - copy one byte array to another
Up: Library APIs
Previous: SCULIB_COPY_DEMOD_SWITCH - copy a switch of demodulated data into arrays holding the switch chop data, chop variance, calibrator, cal variance


SCULIB_COPY_GOOD - Go through data set and throw away bad values

Description:
This routine copies good data and variance from an input array to to an output array, leaving behind BAD values.

Invocation:
CALL SCULIB_COPY_GOOD(NPTS, INDATA, INVAR, INARR1, INARR2, NGOOD, OUTDATA, OUTVAR, OUTARR1, OUTARR2, STATUS)

Arguments:

NPTS = INTEGER (Given)
The number of points in the input array
INDATA ( NPTS ) = REAL (Given)
Input data
INVAR ( NPTS ) = REAL (Given)
Input variance
INARR1 ( NPTS ) = DOUBLE (Given)
Auxilliary double precision array
INARR2 ( NPTS ) = DOUBLE (Given)
Auxilliary double precision array
NGOOD = INTEGER (Returned)
Number of good points in input data
OUTDATA ( NPTS ) = REAL (Returned)
Output data
OUTVAR ( NPTS ) = REAL (Returned)
Output variance
OUTARR1 ( NPTS ) = REAL (Returned)
Good auxiliary data converted to real
OUTARR2 ( NPTS ) = REAL (Returned)
Good auxiliary data converted to real
STATUS = INTEGER (Given & Returned)
Global status value

Notes:

Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.
Implementation Status:



next up previous 623
Next: SCULIB_COPYB - copy one byte array to another
Up: Library APIs
Previous: SCULIB_COPY_DEMOD_SWITCH - copy a switch of demodulated data into arrays holding the switch chop data, chop variance, calibrator, cal variance

SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council