Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-11162: Replace all use of Coord and subclasses with SpherePoint #43

Merged
merged 2 commits into from
Mar 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/astshim/PolyMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class PolyMap : public Mapping {
X=P_i(Y) for the inverse transformation.

The `forward` parameter specifies the transformation to be replaced.
If it is false, a new forward transformation is created
If it is true, a new forward transformation is created
by first finding the input values (X) using the inverse transformation
(which must be available) at a regular grid of points (Y) covering a
rectangular region of the @ref PolyMap's output space. The coefficients of
Expand Down
3 changes: 1 addition & 2 deletions utils/makeWcs.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import lsst.afw.geom as afwGeom
import lsst.afw.image as afwImage
from lsst.afw.coord import IcrsCoord


def makeSimpleImage():
wcs = afwGeom.makeSkyWcs(
crpix = afwGeom.Point2D(0, 0),
crval = IcrsCoord(0 * afwGeom.degrees, 0 * afwGeom.degrees),
crval = afwGeom.SpherePoint(0, 0, afwGeom.degrees),
cdMatrix = afwGeom.makeCdMatrix(scale = 2 * afwGeom.arcseconds),
)
im = afwImage.ExposureF(100, 100, wcs)
Expand Down