command line utility

Create the TODO list which is used by the pipeline to keep track of the targets that needs to be processed.


In order to create to TODO list for the directory in the TESSPHOT_INPUT environment variable simply run the program without any further input:

>>> python

This will create the file todo.sqlite in the directory defined in the TESSPHOT_INPUT environment variable.


If you want to create the TODO file for a specific directory (ignoring the TESSPHOT_INPUT environment variable), you can simply call the script with the directory you want to process:

>>> python /where/ever/you/want/


This program assumes that the directory already contains “catalog” files for the given sector. These can be create using the run_make_catalog() utility.

Code author: Rasmus Handberg <>

Command help

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

Create TODO file for TESS Photometry.

positional arguments:
  input_folder        TESSPhot input directory to create TODO file 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 TODO file.

Filter which targets to include:
  --sector SECTOR     TESS Sector. Default is to run all sectors.
  --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.