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_in
str Name of the fits file containing image data
- targets
astropy.table.Table The table of input data
- Rad
float, optional, default=1. The pixel radius to define the circular area for the aperture
- SkyRad
tuple, optional, default=(6.,8.) A 2-element tuple defining the inner and outer annulus to calculate the background flux
- XY_pos
tuple, optional, default=(10.,10.) The X-Y centroid (in pixels) of the aperture.
- file_in
- Returns:
- full_phot_table
astropy.table.Table The formatted table containing results from the aperture photometry.
- full_phot_table