aper_run

tessilator.lc_analysis.aper_run(file_in, targets, Rad=1.0, SkyRad=[6.0, 8.0], XY_pos=(10.0, 10.0))[source]

Perform aperture photometry for the image data.

This function reads in each fits file, and performs aperture photometry. A table of aperture photometry results is returned, which forms the raw lightcurve to be processed in subsequent functions.

Parameters:
file_instr

Name of the fits file containing image data

targetsastropy.table.Table

The table of input data

Radfloat, optional, default=1.

The pixel radius to define the circular area for the aperture

SkyRadtuple, optional, default=(6.,8.)

A 2-element tuple defining the inner and outer annulus to calculate the background flux

XY_postuple, optional, default=(10.,10.)

The X-Y centroid (in pixels) of the aperture.

Returns:
full_phot_tableastropy.table.Table

The formatted table containing results from the aperture photometry.