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 when raw files
are read in, which is more reliable.
  • Loading branch information
parejkoj committed Nov 5, 2019
1 parent 0a253c7 commit d15d16f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/lsst/afw/geom/wcsUtils/wcsUtilsContinued.py
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 @@ -59,6 +61,8 @@ def getSipMatrixFromMetadata(metadata, name):
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 d15d16f

Please sign in to comment.