find_single_image_CRs¶
- grizli.prep.find_single_image_CRs(visit, simple_mask=False, with_ctx_mask=True, run_lacosmic=True)[source]¶
Use LACosmic to find CRs in parts of an ACS mosaic where only one exposure was available
- Parameters
- visitdict
List of visit information from
parse_flt_files
.- simple_maskbool
If true, set 1024 CR bit for all parts of a given FLT where it does not overlap with any others in the visit. If False, then run LACosmic to flag CRs in this area but keep the pixels.
- run_lacosmicbool
Run LA Cosmic.
- Requires context (CTX) image `visit[‘product’]+’_drc_ctx.fits`.