[lsst-dm-stack-users] Problem visualizing astrometry matches; getX() fails
Michael Wood-Vasey
wmwv at pitt.edu
Mon Jun 23 11:21:05 PDT 2014
Hi Paul,
Thank you for the debug configuration. The astrometry is definitely crazy, with dx and dy in the trillions (yes, really: 1e12).
It's actually "lsst.meas.astrom.astrom" as the name is the module of the filename.
But I'm not sure the options below are active in 'astrom' (release/Winter2014). I get a plot of
(y, dx) (y, dy)
(x, dx) (x, dy)
[which, fwiw, would be easier to read if the axes lined up, e.g.:
(x, dx) (y, dx)
(x, dy) (y, dy)
]
but I don't get a display of the image and the matches.
- Michael
On Jun 23, 2014, at 11:10 , Paul Price <price at astro.princeton.edu> wrote:
> I think you would be better served using the debugging features in lsst.meas.astrom.determineWcs. Put in your debug.py:
>
> import sys
> try:
> import lsstDebug
> print "Importing debug settings..."
> def DebugInfo(name):
> di = lsstDebug.getInfo(name) # N.b. lsstDebug.Info(name) would call us recursively
> if name in (
> "lsst.meas.astrom.determineWcs",
> ):
> di.display = 3
> di.showLinear = True
> di.verbose = True
> di.frame1 = 1
> di.frame2 = 2
> di.frame3 = 3
> return di
> lsstDebug.Info = DebugInfo
> except ImportError:
> print >> sys.stderr, "Unable to import lsstDebug; not setting display intelligently"
>
More information about the dm-users
mailing list