TessSubmission#
- class stellarphot.io.TessSubmission(telescope_code: str, filter: str, utc_start: int, tic_id: int, planet_number: int)[source]#
Bases:
objectA data class to represent TESS submissions.
- Parameters:
- telescope_codestr
The telescope code, e.g. “SRO” or “TJO”
- filterstr
The filter used for the observations, e.g. “Ic” or “Rc”
- utc_startstr
The UTC date of the first observation, in YYYYMMDD format
- tic_idint
The TIC ID of the target
- planet_numberint
The planet number, if applicable
- Attributes:
aperturesstrThe name of the apertures file, e.g.
base_namestrThe base name of the submission, e.g.
field_imagestrThe name of the field image file, e.g.
field_image_zoomstrThe name of the zoomed-in field image file, e.g.
- filter: str
The filter used for the observations, e.g. “Ic” or “Rc”
- planet_numberint
The planet number, if applicable
seeing_profilestrThe name of the seeing profile file, e.g.
tic_coordastropy.coordinates.SkyCoordThe SkyCoord of the target, from the TIC catalog.
- tic_idint
The TIC ID of the target
- telescope_codestr
The telescope code, e.g. “SRO” or “TJO”
- utc_startstr
The UTC date of the first observation, in YYYYMMDD format
Attributes Summary
The name of the apertures file, e.g. "TIC123456789-01_20200101_SRO_Ic_measurements.apertures".
The base name of the submission, e.g. "TIC123456789-01_20200101_SRO_Ic".
The name of the field image file, e.g. "TIC123456789-01_20200101_SRO_Ic_field.png".
The name of the zoomed-in field image file, e.g. "TIC123456789-01_20200101_SRO_Ic_field-zoom.png".
The name of the seeing profile file, e.g. "TIC123456789-01_20200101_SRO_Ic_seeing-profile.png".
The SkyCoord of the target, from the TIC catalog.
Methods Summary
from_header(header[, telescope_code, planet])Create a TessSubmission from a FITS header
Prints a string identifying parts of the submission that are invalid.
Attributes Documentation
- apertures#
The name of the apertures file, e.g. “TIC123456789-01_20200101_SRO_Ic_measurements.apertures”
- base_name#
The base name of the submission, e.g. “TIC123456789-01_20200101_SRO_Ic”
- field_image#
The name of the field image file, e.g. “TIC123456789-01_20200101_SRO_Ic_field.png”
- field_image_zoom#
The name of the zoomed-in field image file, e.g. “TIC123456789-01_20200101_SRO_Ic_field-zoom.png”
- seeing_profile#
The name of the seeing profile file, e.g. “TIC123456789-01_20200101_SRO_Ic_seeing-profile.png”
- tic_coord#
The SkyCoord of the target, from the TIC catalog.
Methods Documentation
- classmethod from_header(header, telescope_code='', planet=0)[source]#
Create a TessSubmission from a FITS header
- Parameters:
- header
astropy.io.fits.Header The FITS header to parse
- telescope_codestr
The telescope code, e.g. “SRO” or “TJO”
- planetint
The planet number, if applicable
- header