getDebugFrame¶
-
lsstDebug.
getDebugFrame
(debugDisplay, name)¶ Attempt to extract a frame for displaying a product called
name
from thedebugDisplay
variable.Per the above, an instance of
Info
can return an arbitrary object (or nothing) as itsdisplay
attribute. It is convenient – though not required – that it be a dictionary mapping data products to frame numbers, as shown in thelsstDebug.Info
example. Given such a dictionary, this function extracts and returns the appropriate frame number. IfdebugDisplay
is not a collection, or ifname
is not found within it, we returnNone
.Parameters: Returns: