command line utility

Create catalogs of stars in a given TESS observing sector.


In order to create catalogs for sector 14 simple call this program from the command-line like so:

>>> python 14

This will create the catalog files (*.sqlite) corresponding to sector 14 in the directory defined in the TESSPHOT_INPUT environment variable.


This function requires the user to be connected to the TASOC network at Aarhus University. It connects to the TASOC database to get a complete list of all stars in the TESS Input Catalog (TIC), which is a very large table.

Code author: Rasmus Handberg <>

Command help

usage: [-h] [-d] [-q] [-o] [--camera {1,2,3,4}]
                           [--ccd {1,2,3,4}] [--buffer BUFFER]
                           sector [input_folder]

Create CATALOG files for TESS Photometry.

positional arguments:
  sector              TESS observing sector to generate catalogs for.
  input_folder        Directory to create catalog files in.

optional arguments:
  -h, --help          show this help message and exit
  -d, --debug         Print debug messages.
  -q, --quiet         Only report warnings and errors.
  -o, --overwrite     Overwrite existing files.

Filter which CCDs to include:
  --camera {1,2,3,4}  TESS Camera. Default is to run all cameras.
  --ccd {1,2,3,4}     TESS CCD. Default is to run all CCDs.

  --buffer BUFFER     Buffer in degrees around each CCD to include in