How askaniy/truecolortools works
TrueColorTools is a desktop astronomy application and spectral-processing library that turns photometry, spectra, and images into color output. The principal workflow runs from GUI selection or image input through data import and spectral/color computation to display, plotting, or saved images; the database viewer can also produce category tables. The README documents blackbody and redshift analysis, database tags and references, and color-space settings. Edges are limited to relationships shown in excerpts, the source index, or README; unsampled implementation details are not inferred.
Main entry points: core.py Spectra and color · main.py GUI event coordinator · gui.py GUI layouts · image_processing.py Image color processing
Components 16
User interface
- Application launcher
runTCT.py - GUI event coordinator
src/main.py - GUI layouts
src/gui.py - Localization
src/strings.py
Spectral processing
- Spectra and color
src/core.py - Numerical helpers
src/auxiliary.py - Spectrum import
src/data_import.py - Image readers
src/image_import.py - Image color processing
src/image_processing.py - Blackbody and redshifts
src/core.py
Scientific data
- Catalog access
src/database.py - Spectra catalog
spectra - Filter profiles
filters
Visualization and output
- Spectral plots
src/plotter.py - Color tables
src/table_generator.py
Other components
- Astronomy user
Connections 24
- Astronomy user → Application launcher: starts
ReadMe.md - Application launcher → GUI event coordinator: launches
runTCT.py - GUI event coordinator → GUI layouts: creates interface
src/main.py - GUI event coordinator → Catalog access: lists objects
src/main.py - GUI event coordinator → Spectra and color: calculates colors
src/main.py - GUI event coordinator → Image color processing: dispatches images
src/main.py - GUI event coordinator → Spectral plots: requests plots
src/main.py - GUI event coordinator → Color tables: generates tables
src/main.py - GUI layouts → Spectra and color: uses
src/gui.py - GUI layouts → Image color processing: uses
src/gui.py - GUI layouts → Localization: uses translations
src/gui.py - Spectra and color → Spectrum import: imports data
src/core.py - Spectra and color → Catalog access: loads catalog data
src/core.py - Spectra and color → Numerical helpers: uses calculations
src/core.py - Spectra and color → Image readers: uses readers
src/core.py - Image color processing → Image readers: reads images
src/image_processing.py - Image color processing → Spectra and color: computes image colors
src/image_processing.py - Color tables → Spectra and color: calculates object colors
src/table_generator.py - Color tables → Catalog access: reads objects
src/table_generator.py - Spectral plots → Spectra and color: plots spectra
src/plotter.py - Spectral plots → GUI layouts: draws figures
src/plotter.py - Catalog access → Spectra catalog: reads spectra
ReadMe.md - Spectra and color → Filter profiles: uses filter profiles
ReadMe.md - Astronomy user → Blackbody and redshifts: requests analysis
ReadMe.md