Skip to content

Commit

Permalink
Deprecate distorted WCS method
Browse files Browse the repository at this point in the history
This was replaced with a system that uses the camera geometry directly when
raw files are read in, which is more reliable.
  • Loading branch information
parejkoj committed Nov 5, 2019
1 parent 936f6a9 commit f7d3407
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/lsst/afw/geom/wcsUtils/wcsUtilsContinued.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

__all__ = ["getSipMatrixFromMetadata", "makeDistortedTanWcs", "computePixelToDistortedPixel"]

from deprecated.sphinx import deprecated

import lsst.geom
from ..transformFactory import linearizeTransform, makeTransform
from ..skyWcs import makeModifiedWcs
Expand Down Expand Up @@ -58,7 +60,8 @@ def getSipMatrixFromMetadata(metadata, name):
arr.shape = (1, 1)
return arr


@deprecated(reason="Camera geometry-based SkyWcs are now set when reading raws. To be removed after v20.",
category=FutureWarning)
def makeDistortedTanWcs(tanWcs, pixelToFocalPlane, focalPlaneToFieldAngle):
"""Compute a WCS that includes a model of optical distortion.
Expand Down

0 comments on commit f7d3407

Please sign in to comment.