lsst.afw.geom¶
Using 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¶
calculateSipWcsHeader(wcs, order, bbox, spacing) | 
Generate a SIP WCS header approximating a given SkyWcs | 
computePixelToDistortedPixel(…) | 
Compute the transform pixelToDistortedPixel, which applies optical distortion specified by focalPlaneToFieldAngle. | 
createTrivialWcsMetadata(wcsName, xy0) | 
|
deleteBasicWcsMetadata(metadata, wcsName) | 
|
getCdMatrixFromMetadata(metadata) | 
|
getImageXY0FromMetadata(metadata, wcsName, strip) | 
|
getIntermediateWorldCoordsToSky(wcs, simplify) | 
|
getPixelToIntermediateWorldCoords(wcs, simplify) | 
|
getSipMatrixFromMetadata(metadata, name) | 
Extract a SIP matrix from FITS TAN-SIP WCS metadata. | 
hasSipMatrix(metadata, name) | 
|
linearizeTransform(original, point) | 
|
makeCdMatrix(scale, orientation, flipX) | 
|
makeFlippedWcs(wcs, flipLR, flipTB, center) | 
|
makeHpxWcs(hips_order, pixel[, shift_order]) | 
Make a SkyWcs object with HEALPix grid projection (HPX). | 
makeIdentityTransform() | 
|
makeModifiedWcs(pixelTransform, wcs, …) | 
|
makeRadialTransform(*args, **kwargs) | 
Overloaded function. | 
makeSimpleWcsMetadata(crpix, crval, …) | 
|
makeSipMatrixMetadata(matrix, n]], name) | 
|
makeSkyWcs(*args, **kwargs) | 
Overloaded function. | 
makeTanSipMetadata(*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¶
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 |