[PIPE2D-25] Visualise a FiberTraceSet using LSST's ds9 interface Created: 03/Sep/14 Updated: 30/Sep/16 Resolved: 30/Sep/16 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Major |
| Reporter: | rhl | Assignee: | aritter |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 2 |
| Epic Link: | Initial Fiber Trace pipeline |
| Sprint: | 2014-9, 2014-12, 2014-13, 2014-14, 2014-15, 2014-16 |
| Reviewers: | swinbank |
| Description |
|
Display a flat field on ds9 and overlay a FiberTraceSet |
| Comments |
| Comment by aritter [ 22/Jul/16 ] |
|
So far I have marked the traced center positions in DS9, but I couldn't find a function in display.ds9 to overplot a rectangular area in a DS9 image. I do have a function that reconstructs an image from the extracted spectrum and spatial profile what should fulfill the same purpose as overlaying a FiberTraceSet on a flat field... |
| Comment by aritter [ 29/Jul/16 ] |
|
Created an ipython notebook in drp_stella/examples/ (tickets/ |
| Comment by rhl [ 29/Jul/16 ] |
import lsst.afw.display as afwDisplay
disp = afwDisplay.Display(1)
disp.mtv(...)
disp.line([(x0, y0), (x0, y0+10), (x0 + 20, y0 + 10), (x0 + 20, y0), (x0, y0)])
(note: this is the way to use ds9; please don't import lsst.afw.display.ds9 directly) |
| Comment by swinbank [ 30/Jul/16 ] |
|
The dataID in the notebook is incorrect: RuntimeError: No unique lookup for ['taiObs', 'dateObs', 'field', 'spectrograph', 'arm'] from {'filter': 'r', 'ccd': 5, 'category': 'A', 'visit': 5, 'site': 'S'}: 0 matches Using site=F works. |
| Comment by aritter [ 30/Jul/16 ] |
|
Fixed the site error, sorry about that... |
| Comment by rhl [ 24/Sep/16 ] |
|
The notebook appears to work, but I have some concerns that need to be addressed:
For markFiberTraceInMask:
In the notebook,
Also (and out of scope for this ticket but worrying)
|
| Comment by aritter [ 30/Sep/16 ] |
|
Merged into master |