lsst.afw.math

lsst.afw.math provides mathematical functions such as convolution and image statistics. Key features:

Using lsst.afw.math

Contributing

lsst.afw.math is developed at https://github.com/lsst/afw. You can find Jira issues for this module under the afw component.

Python API reference

lsst.afw.math Package

Functions

basicConvolve(*args, **kwargs)

Overloaded function.

binImage(*args, **kwargs)

Overloaded function.

convolve(*args, **kwargs)

Overloaded function.

convolveWithBruteForce(*args, **kwargs)

Overloaded function.

flipImage(*args, **kwargs)

Overloaded function.

lookupMaxInterpStyle(n)

lookupMinInterpPoints(style)

makeApproximate(x, y, im, bbox, ctrl)

makeBackground(*args, **kwargs)

Overloaded function.

makeInterpolate(*args, **kwargs)

Overloaded function.

makeStatistics(*args, **kwargs)

Overloaded function.

minimize(*args, **kwargs)

Overloaded function.

offsetImage(*args, **kwargs)

Overloaded function.

randomChisqImage(*args, **kwargs)

Overloaded function.

randomFlatImage(*args, **kwargs)

Overloaded function.

randomGaussianImage(*args, **kwargs)

Overloaded function.

randomPoissonImage(*args, **kwargs)

Overloaded function.

randomUniformImage(*args, **kwargs)

Overloaded function.

randomUniformIntImage(*args, **kwargs)

Overloaded function.

randomUniformPosImage(*args, **kwargs)

Overloaded function.

rotateImageBy90(*args, **kwargs)

Overloaded function.

scaledPlus(*args, **kwargs)

Overloaded function.

statisticsStack(*args, **kwargs)

Overloaded function.

stringToInterpStyle(style)

stringToStatisticsProperty(arg0)

stringToUndersampleStyle(style)

warpCenteredImage(*args, **kwargs)

Overloaded function.

warpExposure(*args, **kwargs)

Overloaded function.

warpImage(*args, **kwargs)

Overloaded function.

Classes

AnalyticKernel

ApproximateControl

ApproximateF

Background

BackgroundControl

BackgroundList(*args)

A list-like class to contain a list of (lsst.afw.math.Background, lsst.afw.math.Interpolate.Style, UndersampleStyle) tuples.

BackgroundMI

BasePolynomialFunction2D

BasePolynomialFunction2F

BilinearWarpingKernel

BoundedField

CandidateVisitor

Chebyshev1Function1D

Chebyshev1Function1F

Chebyshev1Function2D

Chebyshev1Function2F

ChebyshevBoundedField

ChebyshevBoundedFieldConfig(*args, **kw)

ChebyshevBoundedFieldControl

ConvolutionControl

CovariogramD

DeltaFunctionKernel

DoubleGaussianFunction2D

DoubleGaussianFunction2F

FitResults

FixedKernel

Function1D

Function1F

Function2D

Function2F

FunctionD

FunctionF

GaussianFunction1D

GaussianFunction1F

GaussianFunction2D

GaussianFunction2F

GaussianProcessD

IntegerDeltaFunction1D

IntegerDeltaFunction1F

IntegerDeltaFunction2D

IntegerDeltaFunction2F

Interpolate

KdTreeD

Kernel

KernelImagesForRegion

LanczosFunction1D

LanczosFunction1F

LanczosFunction2D

LanczosFunction2F

LanczosWarpingKernel

LeastSquares

LinearCombinationKernel

NearestWarpingKernel

NeuralNetCovariogramD

NullFunction1D

NullFunction1F

NullFunction2D

NullFunction2F

PixelAreaBoundedField

PolynomialFunction1D

PolynomialFunction1F

PolynomialFunction2D

PolynomialFunction2F

ProductBoundedField

Property

Members:

Random

RowOfKernelImagesForRegion

SeparableKernel

SpatialCell

SpatialCellCandidate

SpatialCellCandidateIterator

SpatialCellImageCandidate

SpatialCellSet

Spline

SquaredExpCovariogramD

Statistics

StatisticsControl

TautSpline

TestCandidate

TestCandidateVisitor

TestImageCandidate

TransformBoundedField

UndersampleStyle

Members:

Warper(warpingKernelName[, interpLength, ...])

Warp images.

WarperConfig(*args, **kw)

WarpingControl

Class Inheritance Diagram

Inheritance diagram of lsst.afw.math.AnalyticKernel, lsst.afw.math.ApproximateControl, lsst.afw.math.ApproximateF, lsst.afw.math.Background, lsst.afw.math.BackgroundControl, lsst.afw.math._backgroundList.BackgroundList, lsst.afw.math.BackgroundMI, lsst.afw.math.BasePolynomialFunction2D, lsst.afw.math.BasePolynomialFunction2F, lsst.afw.math.BilinearWarpingKernel, lsst.afw.math.BoundedField, lsst.afw.math.CandidateVisitor, lsst.afw.math.Chebyshev1Function1D, lsst.afw.math.Chebyshev1Function1F, lsst.afw.math.Chebyshev1Function2D, lsst.afw.math.Chebyshev1Function2F, lsst.afw.math.ChebyshevBoundedField, lsst.afw.math._chebyshevBoundedFieldConfig.ChebyshevBoundedFieldConfig, lsst.afw.math.ChebyshevBoundedFieldControl, lsst.afw.math.ConvolutionControl, lsst.afw.math.CovariogramD, lsst.afw.math.DeltaFunctionKernel, lsst.afw.math.DoubleGaussianFunction2D, lsst.afw.math.DoubleGaussianFunction2F, lsst.afw.math.FitResults, lsst.afw.math.FixedKernel, lsst.afw.math.Function1D, lsst.afw.math.Function1F, lsst.afw.math.Function2D, lsst.afw.math.Function2F, lsst.afw.math.FunctionD, lsst.afw.math.FunctionF, lsst.afw.math.GaussianFunction1D, lsst.afw.math.GaussianFunction1F, lsst.afw.math.GaussianFunction2D, lsst.afw.math.GaussianFunction2F, lsst.afw.math.GaussianProcessD, lsst.afw.math.IntegerDeltaFunction1D, lsst.afw.math.IntegerDeltaFunction1F, lsst.afw.math.IntegerDeltaFunction2D, lsst.afw.math.IntegerDeltaFunction2F, lsst.afw.math.Interpolate, lsst.afw.math.KdTreeD, lsst.afw.math.Kernel, lsst.afw.math.detail.KernelImagesForRegion, lsst.afw.math.LanczosFunction1D, lsst.afw.math.LanczosFunction1F, lsst.afw.math.LanczosFunction2D, lsst.afw.math.LanczosFunction2F, lsst.afw.math.LanczosWarpingKernel, lsst.afw.math.LeastSquares, lsst.afw.math.LinearCombinationKernel, lsst.afw.math.NearestWarpingKernel, lsst.afw.math.NeuralNetCovariogramD, lsst.afw.math.NullFunction1D, lsst.afw.math.NullFunction1F, lsst.afw.math.NullFunction2D, lsst.afw.math.NullFunction2F, lsst.afw.math.PixelAreaBoundedField, lsst.afw.math.PolynomialFunction1D, lsst.afw.math.PolynomialFunction1F, lsst.afw.math.PolynomialFunction2D, lsst.afw.math.PolynomialFunction2F, lsst.afw.math.ProductBoundedField, lsst.afw.math.Property, lsst.afw.math.Random, lsst.afw.math.detail.RowOfKernelImagesForRegion, lsst.afw.math.SeparableKernel, lsst.afw.math.SpatialCell, lsst.afw.math.SpatialCellCandidate, lsst.afw.math.SpatialCellCandidateIterator, lsst.afw.math.SpatialCellImageCandidate, lsst.afw.math.SpatialCellSet, lsst.afw.math.detail.Spline, lsst.afw.math.SquaredExpCovariogramD, lsst.afw.math.Statistics, lsst.afw.math.StatisticsControl, lsst.afw.math.detail.TautSpline, lsst.afw.math.TestCandidate, lsst.afw.math.TestCandidateVisitor, lsst.afw.math.TestImageCandidate, lsst.afw.math.TransformBoundedField, lsst.afw.math.UndersampleStyle, lsst.afw.math._warper.Warper, lsst.afw.math._warper.WarperConfig, lsst.afw.math.WarpingControl