potpyri.scripts.main_pipeline
Automatic generalized pipeline for imaging reduction. Creates coadded images for each target. Files are automatically sorted and categorized based on expected header keywords. Pixel-level processing is performed with ccdproc, WCS alignment is performed with astrometry.net and astropy/photutils, photometry is performed with photutils, and flux calibration with astroquery and numpy.
Authors: Kerry Paterson, Charlie Kilpatrick This project was funded with support by the National Science Foundation under grant Nos. AST-1814782, AST-1909358 and CAREER grant No. AST-2047919. If you use this code for your work, please consider citing the package release.
Functions
|
Entry point: check dependencies, parse args, and run main_pipeline. |
|
Run the full reduction pipeline: sort files, calibrate, process, stack, photometry, zeropoint. |
- potpyri.scripts.main_pipeline.main()[source]
Entry point: check dependencies, parse args, and run main_pipeline.
- potpyri.scripts.main_pipeline.main_pipeline(instrument: str, data_path: str, target: list = None, proc: str = None, incl_bad: bool = None, no_redo_sort: bool = None, phot_sn_min: float = None, phot_sn_max: float = None, fwhm_init: float = None, skip_skysub: bool = None, file_list_name: str = None, fieldcenter: list = None, out_size: int = None, skip_flatten: bool = None, skip_cr: bool = None, skip_gaia: bool = None, keep_all_astro: bool = None, relative_calibration: bool = None, **kwargs) None[source]
Run the full reduction pipeline: sort files, calibrate, process, stack, photometry, zeropoint.
Parameters mirror options from options.add_options() (instrument, data_path, target, proc, file_list_name, photometry and processing flags, etc.).