Functions to build mask files for PyDrizzle.
|
|
buildMask(dqarr,
bitvalue)
Builds a bit-mask from an input DQ array and a bitvalue flag |
source code
|
|
|
|
buildMaskName(rootname,
extver)
Builds name for mask file based on rootname and extver. |
source code
|
|
|
|
buildMaskImage(rootname,
bitvalue,
output,
extname='DQ',
extver=1)
Builds mask image from rootname's DQ array If there is no valid 'DQ'
array in image, then return an empty string. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
buildShadowMaskImage(rootname,
detnum,
extnum,
maskname,
replace=True,
bitvalue=None,
binned=1)
Builds mask image from WFPC2 shadow calibrations. |
source code
|
|