TessSubmission#

class stellarphot.io.TessSubmission(telescope_code: str, filter: str, utc_start: int, tic_id: int, planet_number: int)[source]#

Bases: object

A 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:
aperturesstr

The name of the apertures file, e.g.

base_namestr

The base name of the submission, e.g.

field_imagestr

The name of the field image file, e.g.

field_image_zoomstr

The 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_profilestr

The name of the seeing profile file, e.g.

tic_coordastropy.coordinates.SkyCoord

The 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

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".

filter

planet_number

seeing_profile

The name of the seeing profile file, e.g. "TIC123456789-01_20200101_SRO_Ic_seeing-profile.png".

telescope_code

tic_coord

The SkyCoord of the target, from the TIC catalog.

tic_id

utc_start

Methods Summary

from_header(header[, telescope_code, planet])

Create a TessSubmission from a FITS header

invalid_parts()

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”

filter: str = <dataclasses._MISSING_TYPE object>#
planet_number: int = <dataclasses._MISSING_TYPE object>#
seeing_profile#

The name of the seeing profile file, e.g. “TIC123456789-01_20200101_SRO_Ic_seeing-profile.png”

telescope_code: str = <dataclasses._MISSING_TYPE object>#
tic_coord#

The SkyCoord of the target, from the TIC catalog.

tic_id: int = <dataclasses._MISSING_TYPE object>#
utc_start: int = <dataclasses._MISSING_TYPE object>#

Methods Documentation

classmethod from_header(header, telescope_code='', planet=0)[source]#

Create a TessSubmission from a FITS header

Parameters:
headerastropy.io.fits.Header

The FITS header to parse

telescope_codestr

The telescope code, e.g. “SRO” or “TJO”

planetint

The planet number, if applicable

invalid_parts()[source]#

Prints a string identifying parts of the submission that are invalid. If submission valid, returns nothing.