White dwarf stars represent the final chapter in the lives of most stars in our galaxy, including our own Sun. These incredibly dense stellar remnants—packing the mass of our Sun into an object the size of Earth—hold crucial clues about stellar evolution, galactic chemical history, and the ultimate fate of planetary systems. However, extracting meaningful astrophysical parameters from their spectra requires sophisticated analysis techniques that can handle both isolated white dwarfs and complex binary systems where these stellar corpses dance with companion stars.

WD-BASS (White Dwarf Binary And Single Star) rises to this challenge with a comprehensive Python package that performs spectroscopic, photometric, and hybrid fitting using synthetic spectra. The toolkit excels at analyzing sources with smooth continua, making it perfect not just for white dwarfs but for any stellar system requiring precise spectral decomposition. Key features include Gaussian and Lorentzian profile fitting, MCMC parameter estimation with emcee, and the sophisticated ability to simultaneously fit binary systems—whether single-lined or double-lined spectroscopic binaries. The package integrates seamlessly with modern astronomical workflows, supporting MPI parallelization for computationally intensive fits and providing automated tools for input file generation.

Developed for the DBL survey and detailed in Munday et al. 2024, WD-BASS has already proven its worth in cutting-edge astronomical research. The package comes with comprehensive documentation, tutorial datasets, and a supportive developer who actively collaborates with users. Whether you’re studying white dwarf atmospheric composition, hunting for hidden binary companions, or investigating the cooling history of these stellar fossils, WD-BASS provides the robust analytical foundation needed to transform raw spectra into profound insights about our universe’s stellar graveyard.


Stars: 3
💻 Language: Python
🔗 Repository: JamesMunday98/WD-BASS