Sign in to save your rigs, locations, and personalized observing forecasts. Sign in or create an account →
Image Calibration & Processing · Advanced

Sigma Clipping

Rejecting values that lie sufficiently far from the expected distribution before combining data.

Full Explanation

Sigma clipping is a data processing technique used primarily in astronomy to improve the quality of combined images or datasets. It works by identifying and rejecting data points that deviate significantly from the expected distribution, based on a statistical threshold defined by the standard deviation (sigma) of the data. This helps remove unwanted artifacts such as cosmic rays, satellite trails, or sensor defects that appear as outliers in the data. By iteratively excluding these outliers before averaging or stacking, the final combined image is cleaner and more accurate.

However, setting the sigma threshold requires care. If the threshold is too strict or if the number of frames is too small, genuine faint signals or stars may be mistakenly rejected as outliers. Conversely, if the threshold is too loose, unwanted artifacts may remain. Therefore, understanding the noise characteristics and the expected scatter in the data is essential to apply sigma clipping effectively.

Example

When stacking a series of deep-sky images, sigma clipping can be used to remove transient artifacts like satellite trails or cosmic ray hits. For instance, setting a 3-sigma threshold means any pixel value differing from the median by more than three times the standard deviation will be excluded from the stack. This helps produce a cleaner final image without these unwanted features, while preserving real stars and faint nebula details.

Why it matters

Sigma clipping helps astronomers decide how to combine multiple exposures by identifying and rejecting outlier pixels. By inspecting rejection maps that show which pixels were excluded, users can adjust sigma thresholds to balance artifact removal with preservation of real astronomical features, ensuring optimal image quality.