next up previous 623
Next: SCULIB_COADD - coadd exposure into coadded result
Up: Library APIs
Previous: SCULIB_CFILLR - fill a real array with a constant


SCULIB_CLIP_BOL - To clip a bolometer at $ +$/- nsigma

Description:
This routine despikes a single bolometer at the $ +$/- n sigma level. A 1-dimensional data set is assumed.

Invocation:
CALL SCULIB_CLIP_BOL(N_POS, SCUDATA, SCUQUAL, N_SIGMA, BADBIT, NSPIKES, STATUS)

Arguments:

N_POS = INTEGER (Given)
Number of jiggle positions in data set
SCUDATA(N_POS) = REAL (Given)
The data
SCUQUAL(N_POS) = BYTE (Given & Returned)
The data quality
N_SIGMA = DOUBLE (Given)
Number of sigma to clip at. If this number is positive then a clipped mean and standard deviation are calculated. If it is negative the statistics are calculated without iterative clipping.
BADBIT = BYTE (Given & Returned)
Bad bit mask
NSPIKES = INTEGER (Returned)
Number of spikes that were detected.
STATUS = INTEGER (Given and Returned)
Global Status value

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


next up previous 623
Next: SCULIB_COADD - coadd exposure into coadded result
Up: Library APIs
Previous: SCULIB_CFILLR - fill a real array with a constant

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