-
craftutils.observation.epoch.ImagingEpoch.frame_class.psfex(output_dir: str | None =
None, force: bool =False, set_attributes: bool =True, se_kwargs: dict ={}, **kwargs) Run PSFEx on this image to obtain a PSF model. Also performs the prerequisite Source Extractor runs.
- Parameters¶
- output_dir: str | None =
None¶ path to directory to write PSFEx outputs to.
- force: bool =
False¶ If False, and this object already has a PSF model, we just return the one that already exists.
- se_kwargs: dict =
{}¶ arguments to pass to Source Extractor.
- **kwargs¶
arguments to pass to PSFEx.
- set_attributes: bool =
True¶ If True, this Image’s psfex_path, psfex_output, fwhm_pix_psfex and fwhm_psfex will be set according to the PSFEx output.
- output_dir: str | None =
- Returns¶
HDUList representing the PSF model FITS file.