How baklanovp/pystella works
PySTELLA is a research toolkit for reading supernova model outputs and comparing their predicted light curves and spectra with observations. A central workflow starts with a model directory, reads its spectral output, converts it into selected photometric bands, and plots or saves the resulting curves; the shell also dispatches fitting commands. The graph includes model-output readers, photometry and plotting, observation ingestion, and fitting. Edges reflect README statements or the cited source index and excerpts; some model-family capabilities are shown without inferred call paths.
Main entry points: stella.py Stella model access · ubv.py Band conversion · band.py Photometric bands · fit_lc.py Light-curve fitting
Components 24
User interface
- Command shell
pystella.py - Band conversion
ubv.py - Fit command
fit.py
Model data
- Stella model access
pystella/model/stella.py - EVE profiles
pystella/model/sn_eve.py - Shock-wave data
pystella/model/sn_swd.py - Optical-depth data
pystella/model/sn_tau.py - MESA models
pystella/model/mesa.py - HDF5 model data
pystella/model/h5stella.py - Physical constants
pystella/util/phys_var.py
Photometry and plotting
- Spectrum series
pystella/rf/spectrum.py - Photometric bands
pystella/rf/band.py - Radiative calculations
pystella/rf/rad_func.py - Light-curve data
pystella/rf/lc.py - Curve calculations
pystella/rf/light_curve_func.py - Curve and model plots
pystella/rf/light_curve_plot.py
Observations and fitting
- Observation tables
pystella/util/reader_table.py - Observation callbacks
plugin/lcobsmix.py - Velocity observations
plugin/velobs.py - Light-curve fitting
pystella/fit/fit_lc.py - MCMC fitting
pystella/fit/fit_mcmc.py - MPFIT fitting
pystella/fit/fit_mpfit.py - Least-squares solver
pystella/fit/mpfit.py
Other components
- Researcher
Connections 27
- Researcher → Command shell: starts
- Researcher → Band conversion: runs
- Command shell → Band conversion: dispatches
pystella.py - Command shell → Fit command: dispatches
pystella.py - Band conversion → Stella model access: converts model output
- Stella model access → EVE profiles: loads profiles
pystella/model/stella.py - Stella model access → Shock-wave data: reads output
pystella/model/stella.py - Stella model access → Optical-depth data: reads output
pystella/model/stella.py - Stella model access → Spectrum series: loads spectra
- Stella model access → MESA models: supports model data
- Stella model access → HDF5 model data: supports model data
- Spectrum series → Photometric bands: computes curves
pystella/rf/spectrum.py - Photometric bands → Radiative calculations: uses conversions
pystella/rf/band.py - Radiative calculations → Physical constants: uses constants
pystella/rf/rad_func.py - Spectrum series → Curve calculations: supports calculations
pystella/rf/light_curve_func.py - Curve calculations → Light-curve data: builds curves
pystella/rf/light_curve_func.py - Curve and model plots → Photometric bands: uses band data
pystella/rf/light_curve_plot.py - Band conversion → Curve and model plots: plots results
- Observation tables → Light-curve data: builds curves
pystella/util/reader_table.py - Observation callbacks → Light-curve data: uses curves
plugin/lcobsmix.py - Observation callbacks → Photometric bands: uses bands
plugin/lcobsmix.py - Velocity observations → Observation tables: reads tables
plugin/velobs.py - Fit command → Light-curve fitting: fits observations
- Light-curve fitting → Curve and model plots: uses plotting
- MCMC fitting → Light-curve fitting: uses fit interface
pystella/fit/fit_mcmc.py - MPFIT fitting → Light-curve fitting: uses fit interface
pystella/fit/fit_mpfit.py - MPFIT fitting → Least-squares solver: calls solver
pystella/fit/fit_mpfit.py