BU-hammerTeam / PyHammer

A Python Spectral Typing Suite
MIT License
53 stars 14 forks source link
metallicity python spectral-lines spectral-types

PyHammer

GitHub release GitHub commits GitHub issues license Python Supported [Maintenance]() Powered by Astropy

A Python Spectral Typing Suite

PyHammer is a tool developed to allow rapid and automatic spectral classification of stars according to the Morgan-Keenan classification system. Working in the range of 3,650 - 10,200 Angstroms, the automatic spectral typing algorithm compares important spectral lines to template spectra and determines the best matching spectral type, ranging from O to L type stars. This tool has the additional features that it can determine a star's metallicity ([Fe/H]) and radial velocity shifts. Once the automatic classification algorithm has run, PyHammer provides the user an interface for determining spectral types visually by comparing their spectra to provided templates.

Version 2.0.0 of PyHammer adds the ability to spectral type double-lined spectroscopic binaries (SB2). This updates adds new SB2 templates which were constructed in natural units (i.e. ergs /s /Å) using GaiaDR2 distances. This is done using a library of luminosity normalized spectra. This library was created from a combination of the MaStar survey from SDSS-IV and the Pickles+1998 library. The Pickles library was used for OBAF stars while MaStar and SDSS was used for the GKM, C, WD stars.

Modeled after The Hammer: An IDL Spectral Typing Suite published in Covey et al. 2007 available on GitHub.

See the PyHammer Wiki for more information on how to install and use this program.

Information on how the luminosity spectra are added to create SB2 templates can be found in the Roulston+2020 paper.

Publications

PyHammer 1.0.0 is detailed in our accepted Astrophysical Journal Supplements Kesseli et al. (2017).

PyHammer 2.0.0 is detailed in our upcoming Astrophysical Journal Supplements Roulston et al. (2020)

GUI