Skip to content

Commit

Permalink
Moved setMatchDistance function and test here from meas_algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed May 13, 2015
1 parent 763c488 commit 869c8c9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions python/lsst/meas/astrom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from .anetAstrometry import *
from .loadAstrometryNetObjects import *
from .matchOptimisticB import *
from .setMatchDistance import *

from . import catalogStarSelector

Expand Down
2 changes: 1 addition & 1 deletion python/lsst/meas/astrom/fitTanSipWcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import lsst.afw.geom as afwGeom
import lsst.afw.table as afwTable
from lsst.meas.algorithms import setMatchDistance
import lsst.pex.config as pexConfig
import lsst.pipe.base as pipeBase
from .setMatchDistance import setMatchDistance
from .sip import makeCreateWcsWithSip

__all__ = ["FitTanSipWcsTask", "FitTanSipWcsConfig"]
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/meas/astrom/matchOptimisticB.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import numpy

import lsst.afw.table as afwTable
from lsst.meas.algorithms import setMatchDistance
import lsst.pex.config as pexConfig
import lsst.pipe.base as pipeBase
from .setMatchDistance import setMatchDistance
from .astromLib import matchOptimisticB, MatchOptimisticBControl

__all__ = ["MatchOptimisticBTask", "MatchOptimisticBConfig"]
Expand Down
4 changes: 2 additions & 2 deletions tests/testFitTanSipWcsTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
import lsst.afw.geom as afwGeom
import lsst.afw.image as afwImage
import lsst.afw.table as afwTable
from lsst.meas.algorithms import LoadReferenceObjectsTask, setMatchDistance
from lsst.meas.algorithms import LoadReferenceObjectsTask
from lsst.meas.base import SingleFrameMeasurementTask
from lsst.meas.astrom import FitTanSipWcsTask
from lsst.meas.astrom import FitTanSipWcsTask, setMatchDistance
from lsst.meas.astrom.sip import makeCreateWcsWithSip

class BaseTestCase(unittest.TestCase):
Expand Down

0 comments on commit 869c8c9

Please sign in to comment.