-
Type:
Story
-
Status: Won't Fix (View Workflow)
-
Priority:
Normal
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:1
-
Sprint:2DDRP-2021 A
It is possible that the original method stella.utils.addFiberTraceSetToMask has been lost with the introduction of FiberTrace.getTrace(). Please confirm. If it is, an example implementation is provided below that can be used.
from pfs.drp.stella import fiberMaskPlane def addFiberTraceSetToMask(mask, fiberTraceSet, display=None): mask.addMaskPlane(fiberMaskPlane) for ft in fiberTraceSet: ftMask = ft.trace.mask calexp.mask[ftMask.getBBox()] |= ftMask if display: display.setMaskPlaneColor(fiberMaskPlane, "GREEN")
- relates to
-
PIPE2D-492 Miscellaneous changes to the 2D DRP pipeline
-
- Done
-