Interactive modeling of astronomical spectra.
Sculptor is a high level API and Graphical User Interface around LMFIT tailored specifically for the analysis of astronomical spectra. This package is designed to facilitate reproducible scientific results and easy to inspect model fits in an open source framework. For this purpose the Sculptor package introduces four core python modules and a Graphical User Interface for interactive control:
- SpecOneD:The SpecOneD module introduces the SpecOneD class, which is designed to store and manipulate 1D astronomical spectral data.
- SpecFit: The core module of Sculptor introducing the SpecFit class, which holds complex models to fit to the 1D astronomical spectrum.
- SpecModel: A helper class, which holds one complex spectral model, which can consist of multiple pre-defined or user-defined model functions to be fit to the 1D spectrum.
- SpecAnalysis: A module focused on the analysis of continuum models of models of emission/absorption features. It interfaces with the SpecFit class and streamlines the process of analyzing the fitted spectral models.
At the heart of the Sculptor package is the , which offers interactive control to set up and combine multiple spectral models to fully fit the astronomical spectrum of choice. This includes masking of spectral features, defining fit regions, and setting of fit parameter boundaries. The framework allows to add interdependent fit parameters (e.g., to couple the FWHM of multiple emission/absorption lines).
The open-source Sculptor python package is available on github:
Full documentation is provided at: