Next: SCULIB_COADD_REMOVE - remove exposure from coadded result
Up: Library APIs
Previous: SCULIB_COADD - coadd exposure into coadded result
SCULIB_COADD_MAPS
- Average together integration and output map
- Description:
- This routine coadds the current integration image to the output image.
The coadd variance is calculated from the spread of the integrations
about the mean if more than one integration has been added in. The
averaging is done over integrations, so that each point in an image
is separate. An output point is good if either of the inputs is good.
If only one dataset is coadded th variance is set zero.
Input pixels with bad quality are ignored.
- Invocation:
- CALL SCULIB_COADD_MAPS(NPTS, DATA_IN, QUALITY_IN, WEIGHT,
NCOADD, DATA_OUT, VARIANCE_OUT, QUALITY_OUT, WEIGHT_OUT,
STATUS)
- Arguments:
-
-
NPTS = INTEGER (Given)
-
Number of input data points
-
DATA_IN( NPTS ) = REAL (Given)
-
Input data
-
QUALITY_IN( NPTS ) = BYTE (Given)
-
Input data quality
-
WEIGHT = REAL (Given)
-
Relative weight of input data
-
NCOADD( NPTS ) = INTEGER (Given & Returned)
-
Number of points coadded into each data point
-
DATA_OUT( NPTS ) = REAL (Given & Returned)
-
Coadded output data
-
VARIANCE_OUT( NPTS ) = REAL (Given & Returned)
-
Variance of coadded output data.
-
QUALITY_OUT( NPTS ) = BYTE (Given & Returned)
-
Quality of coadded output data
-
WEIGHT_OUT( NPTS ) = REAL (Given & Returned)
-
Total weight of output data
-
STATUS = INTEGER (Given & Returned)
-
Global status
-
Copyright
- Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy
Research Council. All Rights Reserved.
Next: SCULIB_COADD_REMOVE - remove exposure from coadded result
Up: Library APIs
Previous: SCULIB_COADD - coadd exposure into coadded result
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