mirar.processors.astromatic.psfex package

Module for running PSFex

Submodules

mirar.processors.astromatic.psfex.psfex module

Module to run PSFex

class mirar.processors.astromatic.psfex.psfex.PSFex(config_path: str | None = None, output_sub_dir: str = 'psf', norm_fits: bool = True)[source]

Bases: BaseImageProcessor

Class to run PSFex on an image.

base_key = 'psfex'
check_prerequisites()[source]

Check to see if any prerequisite processors are missing

Returns:

None

get_psfex_output_dir() Path[source]

Get PSFex output directory Returns:

mirar.processors.astromatic.psfex.psfex.run_psfex(sextractor_cat_path: Path, config_path: str, psf_output_dir: str, norm_psf_output_name: str | Path | None = None)[source]

Function to run PSFex Args:

sextractor_cat_path: path to sextractor catalog config_path: path of psfex config file psf_output_dir: output directory to store PSF norm_psf_output_name: normalized PSF output path

Returns: