TASOC Photometry (photometry package)

Preparation functions

Photometric methods

Helper classes and utilities

Running the photometry (tessphot)

Code author: Rasmus Handberg <rasmush@phys.au.dk>

photometry.tessphot.tessphot(method=None, *args, **kwargs)[source]

Run the photometry pipeline on a single star.

This function will run the specified photometry or perform the dynamical scheme of trying simple aperture photometry, evaluating its performance and if nessacery try another algorithm.

Parameters:
  • method (str or None) – Type of photometry to run. Can be 'aperture', 'halo', 'psf', 'linpsf' or None.

  • *args – Arguments passed on to the photometry class init-function.

  • **kwargs – Keyword-arguments passed on to the photometry class init-function.

Raises:

ValueError – On invalid method.

Returns:

Photometry object that inherits

from photometry.BasePhotometry.

Return type:

photometry.BasePhotometry