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_targets
astropy.table.Table Table containing the targets to be analysed.
- scc
list, size=3 List containing the sector number, camera and CCD.
- res_table
astropy.table.Table The table to store tessilator results.
- file_ref
str A common string to give all output files the same naming convention.
- ap_rad
float, optional, default=1.0 The pixel radius of the flux collecting area for aperture photometry.
- sky_ann
Iterable, size=2, optional, default=[6.,8.] The inner and outer background annuli used for aperture photometry.
- keep_data
bool Choose to save the input data to file.
- fix_noise
bool, optional, default=False Choose to apply the noise correction to the cleaned lightcurve.
- t_targets
- Returns:
- Nothing returned, but the final tessilator table is saved to file.