-
Type:
Task
-
Status: Done (View Workflow)
-
Priority:
Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:1
Please auto detect that an exposure is windowed from the metadata.
This code snippet has proven to work.
nRows = md['W_CDROWN'] + 1 - md['W_CDROW0'] windowed = nRows != md['NAXIS2']
W_CDROWN, W_CDROW0 are not defined for n arm, so be careful.