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