Command-line entry point

run_sphot CLI: end-to-end basefit + parallel scalefit + aperture photometry from a single config file.

sphot.run_sphot.main()[source]

main module of run_sphot.py: this is called when run_sphot is called from the command line (installed via project.scripts in pyproject.toml)

sphot.run_sphot.argv_to_kwargs(args)[source]
sphot.run_sphot.run_sphot(datafile, initial_run=True, continue_scalefit=False, rerun_basefit=False, rerun_scalefit=False, photometry=False, out_folder='.', filters_to_fit=[], **kwargs)[source]

main commands are put in this dummy function so that the rich output can be forwarded to a log file when running in slurm

sphot.run_sphot.prep_console_wrapper(force_standard_output=False)[source]