Next: SCUCLKERR - Determine the possible error in the times stored in the data header
Up: Complete routine descriptions
Previous: SCUCAT - Concatenate photometry datasets for further processing
SCUCLIP
- Simple sigma clipping for each bolometer
- Description:
- Each bolometer is analysed independently, the mean and standard
deviation are calculated, any points greater than NSIGMA sigma
from the mean are treated as spikes and removed. Note that for mapping
this despiking algorithm is only useful for very weak
sources; bright sources will be removed (since a bolometer
jiggles on and off bright sources). Photometry observations
do not suffer from this problem as the bolometers are always on
source.
- Usage:
- scuclip in out nsigma
- Parameters:
-
-
IN = NDF (Read)
-
This is the name of the input demodulated data file
-
MSG_FILTER = CHAR (Read)
-
Message output level. Allowed values are QUIET, NORM and VERB.
Default is NORM. If MSG_FILTER is set
to VERBOSE the number of spikes removed from each bolometer is
reported.
-
NSIGMA = DOUBLE (Read)
-
Number of sigma beyond which data are thought to be spikes.
If this number is positive an iterative clip will be performed
(ie the standard deviation is recalculated after clipping and
points lying outside the new range are removed).
If it is negative then iterative clipping is switched off.
-
OUT = NDF (Write)
-
Output data file.
- Examples:
-
- scuclip infile outfile 5
- Clip any data points that are further than 5 sigma from the mean.
The clipping is done on a per bolometer basis and is iterative.
- scuclip infile outfile -5
- Clip any data points that are further than 5 sigma from the mean.
The clipping is done on a per bolometer basis and only one pass
of clipping is performed.
- Notes:
- The despiking routine is very primitive and should not be used
with jiggle map data of bright sources. It can be used
on PHOTOM data since the jiggle pattern never moves off source
(although sigclip can be used once the data has been processed
by scuphot).
-
Related Applications
- SURF: scuquick, rebin, scuphot, sigclip, despike;
KAPPA: setbb
- Implementation Status:
- The despiking routine sets QUALITY bit 5 to bad. It does not affect
the data. The effects of despiking can be removed by using the
KAPPA task setbb to unset quality bit 5.
Next: SCUCLKERR - Determine the possible error in the times stored in the data header
Up: Complete routine descriptions
Previous: SCUCAT - Concatenate photometry datasets for further processing
SURF -- SCUBA User Reduction Facility
Starlink User Note 216
T. Jenness, J. F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
3 April 2003
E-mail:ussc@star.rl.ac.uk
Copyright © 1997-2000,2003 Particle Physics and Astronomy Research Council