Image Pre-preparation¶
Astrometric Alignment¶
Grism Background Subtraction¶
Reference/API¶
grizli.prep Module¶
Align direct images & make mosaics
Functions¶
|
Add Gaussian sources in empty parts of an image derived from an external catalog |
|
Pipeline for astrometric alignment of drizzled image products |
|
Make a mask for pixels flagged as being affected by persistence |
|
Apply DQ mask from a DS9 region file |
|
Query the |
|
Saturated WFC3/IR pixels have some pulldown in the opposite amplifier |
|
Apply derived shifts to exposure WCS |
|
Apply the skyflat |
|
Convert an ASN file to a dictionary |
|
Blot SEP background of drizzled image back to component FLT images |
|
Count number of items in a list of footprints overlap with catalog positions |
|
Check if a file or list of files is JWST image. |
Make sure all files and modules are in place and print some information if they're not |
|
|
Fit and remove a 2D polynomial fit to the detector-frame UVIS/WFC images |
|
Zero-out WHT=0 pixels in drizzle mosaics |
|
Clip [x,y] arrays of objects that don't have a match within |
|
Compute SourceExtractor-like AUTO params with |
|
Footprint of image pixels where values > 0. |
|
Combine overlapping visits into single output mosaics |
|
not used |
|
Compute pairs of direct and grism exposures |
|
Use LACosmic to find CRs in parts of an ACS mosaic where only one exposure was available |
|
Unset the CR bit (4096) in the centers of bright objects |
|
Copy "fresh" unmodified version of a data file from some central location |
Get dictionary of SEP integer flags |
|
|
Relative EE correction within a specified aperture, in arcsec. |
|
Query GAIA catalogs from Vizier TAP |
|
Get single aperture correction from tabulated EE curve |
|
Divide flat-field from NIRISS wfssbkg file |
|
Compute total correction from tabulated EE curves |
|
Get the path to an appropriate NIRCam wisp template file, assuming the templates are stored in |
|
Get median along an image axis after rotating by and angle |
|
Integrate flux within the segmentation regions. |
|
VEXAS DR2 from vizier |
|
VISTA Hemisphere Survey (VHS) DR4.1 from vizier |
|
Get reference astrometry from grizli database |
|
Compute total correction from WFC3/IR EE curves |
|
Iterate |
|
Save WCS offset information to an ascii file |
|
Make a catalog from a FLT file |
|
Make a catalog from drizzle products using the SEP implementation of SourceExtractor |
|
Make a catalog from arrays using |
|
Make a SExtractor catalog from drizzle products |
|
Make an average "skyflat" for exposures in a visit, e.g., for MIRI |
|
Manual alignment of a visit with respect to an external region file |
|
Mask JWST IR snowballs |
|
Match WCS of grism exposures to corresponding direct images |
|
Compute matched objects and transformation between two (x,y) lists. |
|
Fit the NIRCam wisp template and subtract |
|
Masked column/row correction for 1/f noise in JWST exposures |
|
Full processing of a direct (+grism) image visit. |
|
Get a region masks from a local DS9 window and make a table that can be sent to the |
|
Get separate background values for each chip. |
|
Set direct imaging filter for grism exposures |
|
Subtract angle averages from exposures in a |
|
Intra-visit shift alignment |
|
Refine shifts of FLT files |
|
Make FITS log when updating WCS |
|
Subtract sky background from grism exposures |