SCULIB_COADD_REMOVE

remove exposure from coadded result

Description:

This routine removes an exposure from the input coadd and puts the result in the output coadd arrays. The input and output arrays can be the same. The coadd result is the average of exposures remaining in the coadd. The coadd variance is calculated from the spread of the exposures about the mean if more than one exposure remains, 0 otherwise. Exposure pixels with bad quality are ignored.

Invocation

CALL SCULIB_COADD_REMOVE (N, IN_DATA, IN_VARIANCE, IN_QUALITY, INCOADD_DATA, INCOADD_VAR, INCOADD_QUAL, INCOADD_NUMBER, OUTCOADD_DATA, OUTCOADD_VAR, OUTCOADD_QUAL, OUTCOADD_NUMBER, VARIANCE)

Arguments

N = INTEGER (Given)
Number of elements in arrays.
IN_DATA (N) = REAL (Given)
data to be added to coadd
IN_VARIANCE (N) = REAL (Given)
variance on input data
IN_QUALITY (N) = INTEGER (Given)
quality on input data
INCOADD_DATA (N) = REAL (Given)
Input coadd.
INCOADD_VAR (N) = REAL (Given)
Input coadd variance.
INCOADD_QUAL (N) = INTEGER (Given)
Input coadd quality
INCOADD_NUMBER (N) = INTEGER (Given)
Number of exposures coadded in input coadd.
OUTCOADD_DATA (N) = REAL (Returned)
Output coadd.
OUTCOADD_VAR (N) = REAL (Returned)
Output coadd variance.
OUTCOADD_QUAL (N) = INTEGER (returned)
Output coadd quality.
OUTCOADD_NUMBER (N) = INTEGER (Returned)
Number of exposures coadded in output coadd.
VARIANCE = LOGICAL (Given)
T if input data has variance associated with it

Copyright

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