craftutils.observation.epoch.ImagingEpoch.frame_class.source_extraction_psf(output_dir: str, template: ImagingImage | None = None, force: bool = False, **configs)

Uses a PSFEx-generated PSF model in conjunction with Source Extractor to generate a source catalog. The key difference with source_extraction is that source_extraction uses only Source Extractor, and does not therefore use PSF-fitting (ie, no CLASS_STAR, MAG_PSF or FLUX_PSF columns are written). :param output_dir: The directory in which to write the PSFEx and Source Extractor output files. :param template: The path to the file to use as template, if dual mode is to be used. :param force: If True, performs all functions regardless of whether source_catalogues already exist, and

overwrites them; if False, checks whether they exist first and skips some steps if so.

Parameters
**configs

A dictionary of Source Extractor arguments to pass to command line.

Returns