Check out the Twinkle ReadTheDocs Manual
Twinkle is a Python-based tool that calculates the spectral energy distribution (SED) of a stellar source using empirical photometric data and stellar model grids.
Twinkle was originally created to help calculate the excess infrared (IR) flux from a star. The presence of an IR excess indicates dust orbiting the star. This dust likely results from the grinding and collisions of asteroids, influenced by a larger planetary object—pointing to the potential for finding planets. You can check out the published papers from my thesis using this code in Patel, Metchev, and Heinze, 2014 and Patel et al., 2017.
Interested in learning more about debris disks? Check out my blog post.
This code base helps you quickly calculate the temperature and location of the dust to first order by fitting the assumed blackbody or modified blackbody function to the broadband excess emission.
Feel free to fork and contribute!
- Model multiple stellar SEDs at once with an easy-to-use stellar input file.
- Late B to K-spectral type modeling support. Additional spectral type modeling is possible but not tested (yet).
- Plotting capabilities (link to plotting page upcoming) of the empirical data and the modeled distribution.
- This Jupyter Notebook provides a quick-start guide to using Twinkle.
Note:
The code hasn't been tested in a while, so there may be issues still being worked on. If you want to contribute, fork and submit a pull request.
Check out Twinkle on GitHub.
To install:
pip install git+https://github.com/astropatel/twinkle.gitI created the Twinkle logo after obtaining baseline ideas from AI image generators, and then drawing it on Inkscape. The top prong, or point, or (what is it called?) of the star image is meant to look like a stellar SED.
I prefer my projects to have apt names, but then like to backronym it into something non-sensical and fun. While I haven’t landed on one for TWINKLE, here are suggestions from friends and colleagues
The WIse Non-gaseous disK Locator Extraordinaire (by: Scott Barenfeld)
The Wise Infrared Non-gaseous disK Locator Extraordinaire (by: Calen Henderson)
That’s What I Need to Know about teLescopes from Experts (by: Tiffany Meshkat)
References:
- EMamajek_MSColors.txt from http://www.pas.rochester.edu/~emamajek/EEM_dwarf_UBVIJHK_colors_Teff.txt
- NextGen models from Hauschildt, P. H., Allard, F., & Baron, E. 1999, ApJ, 512, 377
- ATLAS9 modesls from Kurucz, R. L. 1993, yCat, 6039, 0
