one_cc

tessilator.tessilator.one_cc(t_targets, scc, res_table, file_ref, ap_rad=1.0, sky_ann=[6.0, 8.0], keep_data=False, fix_noise=False)[source]

Run the tessilator for targets in a given Sector/Camera/CCD configuration.

This routine finds the full-frame calibrated fits files and targets which land in a given Sector/Camera/CCD configuration (SCC). Aperture photometry is carried out simultaneously for all stars in a given SCC for each fits file in chronological order. This makes the method run much faster than doing it star-by-star (i.e. vectorisation). The output is a table for each SCC and plots for each target (if required).

Parameters:
t_targetsastropy.table.Table

Table containing the targets to be analysed.

scclist, size=3

List containing the sector number, camera and CCD.

res_tableastropy.table.Table

The table to store tessilator results.

file_refstr

A common string to give all output files the same naming convention.

ap_radfloat, optional, default=1.0

The pixel radius of the flux collecting area for aperture photometry.

sky_annIterable, size=2, optional, default=[6.,8.]

The inner and outer background annuli used for aperture photometry.

keep_databool

Choose to save the input data to file.

fix_noisebool, optional, default=False

Choose to apply the noise correction to the cleaned lightcurve.

Returns:
Nothing returned, but the final tessilator table is saved to file.