setup_input_parameters¶
- tessilator.tessilator.setup_input_parameters()[source]¶
Retrieve the input parameters to run the tessilator program.
The input parameters are:
“file_ref” is a string expression used to reference the files produced.
“t_filename” is the name of the input file (or target) required for analysis.
If a program is called from the command line without all five input parameters, a set of prompts are initiated to receive input. If just one target is needed, then the user can simply supply either the target name, as long as it is preceeding by a hash (#) symbol. Otherwise, if the full set of command line parameters are supplied, the function will use these as the inputs, however, if they have the wrong format the program will return a warning message and exit.
- Parameters:
- Either arguments supplied on the command line, or the function will prompt
- the user to provide input.
- Returns:
- flux_con
bool Run lightcurve analysis for contaminant sources.
- scc
list, size=3, only if sector data is used List containing the sector number, camera and CCD.
- lc_con
bool, only if cutout data is used Decides if a lightcurve analysis is to be performed for the 5 strongest contaminants. Here, the data required for further analysis are stored in a table.
- file_ref
str A common string to give all output files the same naming convention.
- t_filename
str The name of the input table containing the targets (or a single target).
- flux_con