Abstract
Publicly available photometry pipelines make astronomical data reduction accessible to non-experts, reduce the margin for human error, and enable reproducible reduction. In many cases, bespoke reduction software is written on a per-instrument basis; this results in rigid pipelines that cannot be straightforwardly applied to data from other instruments. To alleviate this problem, we present phoptic, an open source photometry pipeline written in Python. phoptic began as a dedicated pipeline for the OPtical TIming CAMera (OPTICAM), a triple-camera system mounted on the 2.1 m telescope at the Observatorio Astronómico Nacional in San Pedro Mártir, México. However, phoptic now serves as a generic photometry pipeline with a simple interface to reduce data from other instruments. At its core, phoptic leverages the astropy Python package, and affiliated packages thereof, to provide a flexible, modern, and interoperable reduction pipeline. In particular, phoptic uses photutils for background estimation, source detection, and performing aperture photometry. Additionally, phoptic implements optimal photometry, improving the signal-to-noise ratio over aperture photometry by up to $\sim 10$ per cent. We describe phoptic’s functionality, discuss its default behaviour, and demonstrate its flexible interface by reducing data from the HiPERCAM, MEXMAN, OPTICAM, and ULTRACAM instruments. We also review the performance of phoptic, and show that it is highly scalable on multicore CPUs.
Funding Information
  • Science and Technology Facilities Council (ST/X508767/1)
  • Science and Technology Facilities Council (ST/X001121/1)
  • Science and Technology Facilities Council (ST/R000824/1)
  • Royal Society (NF170803)
  • Royal Society (AL\221034)
  • Royal Society (AL\24100056)

This publication has 65 references indexed in Scilit: