Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
MEANCLIP
Computes an iteratively sigma-clipped mean on a data set
Clipping is done about median, but mean is returned. Called by SKYADJ_CUBE
Statistics
MEANCLIP, Data, Mean, Sigma
Data: Input data, any numeric array
Mean: N-sigma clipped mean. Sigma: Standard deviation of remaining pixels.
CLIPSIG: Number of sigma at which to clip. Default=3 MAXITER: Ceiling on number of clipping iterations. Default=5 CONVERGE_NUM: If the proportion of rejected pixels is less than this fraction, the iterations stop. Default=0.02, i.e., iteration stops if fewer than 2% of pixels excluded. /VERBOSE: Set this flag to get messages.
SUBS: Subscript array for pixels finally used.
Written by: RSH, RITSS, 21 Oct 98 20 Jan 99 - Added SUBS, fixed misplaced paren on float call, improved doc. RSH
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]