Linear PSF Photometry (photometry.LinPSFPhotometry)

Created on Thu Jan 18 14:08:36 2018

@author: Jonas Svenstrup Hansen <>

class photometry.LinPSFPhotometry(*args, **kwargs)[source]

Bases: photometry.BasePhotometry.BasePhotometry

__init__(*args, **kwargs)[source]

Linear PSF photometry.

Do point spread function photometry with fixed centroids. The flux of all stars in the image are fitted simultaneously using a linear least squares method.


Inspired by the psf_photometry class set up by Rasmus Handberg <>. The code in this __init__() function as well as the logging, catalog call, time domain loop structure, catalog star limits and lightcurve output is copied from that class.


Linear PSF Photometry TODO: add description of method and what A and b are