lsst.afw.geom

Contributing

lsst.afw.geom 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.geom Package

Functions

getIntermediateWorldCoordsToSky(wcs, simplify)
getPixelToIntermediateWorldCoords(wcs, simplify)
linearizeTransform(original, point)
makeCdMatrix(scale, orientation, flipX)
makeFlippedWcs(wcs, flipLR, flipTB, center)
makeIdentityTransform()
makeModifiedWcs(pixelTransform, wcs, …)
makeRadialTransform(*args, **kwargs) Overloaded function.
makeSkyWcs(*args, **kwargs) Overloaded function.
makeTanSipWcs(*args, **kwargs) Overloaded function.
makeTransform(affine)
makeWcsPairTransform(src, dst)
transformFromString(data) Read a Transform from a string that was saved using Transform.writeString
wcsAlmostEqualOverBBox(wcs0, wcs1, bbox[, …]) Test if two WCS are almost equal over a grid of pixel positions.

Classes

AffineTransformConfig A Config representing an affine Transform.
Ellipse
GenericEndpoint
IdentityTransformConfig A Config representing a Transform that does nothing.
MultiTransformConfig A Config representing a chain of consecutive Transforms.
OneTransformConfig A Config representing a single Transform in a compound Transform.
Point2Endpoint
Polygon
Quadrupole
RadialTransformConfig A Config representing a radially symmetric Transform.
SipApproximation
SkyWcs
Span
SpanIterator
SpanSet
SpherePointEndpoint
Stencil
TransformConfig Config that identifies Transforms by keyword.
TransformGenericToGeneric
TransformGenericToPoint2
TransformGenericToSpherePoint
TransformPoint2ToGeneric
TransformPoint2ToPoint2
TransformPoint2ToSpherePoint
TransformSpherePointToGeneric
TransformSpherePointToPoint2
TransformSpherePointToSpherePoint

Class Inheritance Diagram

Inheritance diagram of lsst.afw.geom.transformConfig.AffineTransformConfig, lsst.afw.geom.ellipses.ellipse.ellipse.Ellipse, lsst.afw.geom.endpoint.GenericEndpoint, lsst.afw.geom.transformConfig.IdentityTransformConfig, lsst.afw.geom.transformConfig.MultiTransformConfig, lsst.afw.geom.transformConfig.OneTransformConfig, lsst.afw.geom.endpoint.Point2Endpoint, lsst.afw.geom.polygon.polygon.Polygon, lsst.afw.geom.ellipses.quadrupole.quadrupole.Quadrupole, lsst.afw.geom.transformConfig.RadialTransformConfig, lsst.afw.geom.sipApproximation.SipApproximation, lsst.afw.geom.skyWcs.skyWcs.SkyWcs, lsst.afw.geom.span.Span, lsst.afw.geom.span.SpanIterator, lsst.afw.geom.spanSet.SpanSet, lsst.afw.geom.endpoint.SpherePointEndpoint, lsst.afw.geom.spanSet.Stencil, lsst.afw.geom.transformConfig.TransformConfig, lsst.afw.geom.transform.transform.TransformGenericToGeneric, lsst.afw.geom.transform.transform.TransformGenericToPoint2, lsst.afw.geom.transform.transform.TransformGenericToSpherePoint, lsst.afw.geom.transform.transform.TransformPoint2ToGeneric, lsst.afw.geom.transform.transform.TransformPoint2ToPoint2, lsst.afw.geom.transform.transform.TransformPoint2ToSpherePoint, lsst.afw.geom.transform.transform.TransformSpherePointToGeneric, lsst.afw.geom.transform.transform.TransformSpherePointToPoint2, lsst.afw.geom.transform.transform.TransformSpherePointToSpherePoint

lsst.afw.geom.testUtils Module

Functions

makeSipIwcToPixel(metadata) Make an IWC to pixel transform with SIP distortion from FITS-WCS metadata
makeSipPixelToIwc(metadata) Make a pixel to IWC transform with SIP distortion from FITS-WCS metadata

Classes

BoxGrid(box, numColRow) Divide a box into nx by ny sub-boxes that tile the region

Class Inheritance Diagram

Inheritance diagram of lsst.afw.geom.testUtils.BoxGrid