Backgrounds (photutils.background)#

This subpackage contains tools to estimate the background and background RMS in an image.

Classes#

Background2D(data, box_size, *[, mask, ...])

Class to estimate a 2D background and background RMS noise in an image.

BackgroundBase([sigma_clip])

Base class for classes that estimate scalar background values.

BackgroundRMSBase([sigma_clip])

Base class for classes that estimate scalar background RMS values.

BiweightLocationBackground([c, M, sigma_clip])

Class to calculate the background in an array using the biweight location.

BiweightScaleBackgroundRMS([c, M, sigma_clip])

Class to calculate the background RMS in an array as the (sigma- clipped) biweight scale.

BkgIDWInterpolator(*[, leafsize, ...])

This class generates full-sized background and background RMS images from lower-resolution mesh images using inverse-distance weighting (IDW) interpolation (ShepardIDWInterpolator).

BkgZoomInterpolator(*[, order, mode, cval, ...])

This class generates full-sized background and background RMS images from lower-resolution mesh images using the zoom (spline) interpolator.

LocalBackground(inner_radius, outer_radius)

Class to compute a local background using a circular annulus aperture.

MADStdBackgroundRMS([sigma_clip])

Class to calculate the background RMS in an array as using the median absolute deviation (MAD).

MMMBackground([sigma_clip])

Class to calculate the background in an array using the DAOPHOT MMM algorithm.

MeanBackground([sigma_clip])

Class to calculate the background in an array as the (sigma-clipped) mean.

MedianBackground([sigma_clip])

Class to calculate the background in an array as the (sigma-clipped) median.

ModeEstimatorBackground([median_factor, ...])

Class to calculate the background in an array using a mode estimator of the form (median_factor * median) - (mean_factor * mean).

SExtractorBackground([sigma_clip])

Class to calculate the background in an array using the Source Extractor algorithm.

StdBackgroundRMS([sigma_clip])

Class to calculate the background RMS in an array as the (sigma- clipped) standard deviation.

Class Inheritance Diagram#

Inheritance diagram of photutils.background.background_2d.Background2D, photutils.background.core.BackgroundBase, photutils.background.core.BackgroundRMSBase, photutils.background.core.BiweightLocationBackground, photutils.background.core.BiweightScaleBackgroundRMS, photutils.background.interpolators.BkgIDWInterpolator, photutils.background.interpolators.BkgZoomInterpolator, photutils.background.local_background.LocalBackground, photutils.background.core.MADStdBackgroundRMS, photutils.background.core.MMMBackground, photutils.background.core.MeanBackground, photutils.background.core.MedianBackground, photutils.background.core.ModeEstimatorBackground, photutils.background.core.SExtractorBackground, photutils.background.core.StdBackgroundRMS