For the original version, please see here and Kokorev et al. 2021.
The original code fit the model SED Fmodel=F1+F2+F3 to the data SED Ftot by minimizing ||Ftot - Fmodel||2, where
F1=UV/Optical stellar light templates or Shen et al. 2016 quasar temperates
F2=AGN heated dust in the MIR
F3=IR dust reprocessed stellar light in the NIR-FIR
When total flux Ftot is decomposed into the point source (AGN) FAGN and rest Fhost galaxy by image decomposition, this modified code can include this additional constraint by providing FAGN as AGN_EXTRA_BANDS_FILE and setting AGN_EXTRA_BANDS=1 in the config file (similar to setting EXTRA_BANDS_FILE and EXTRA_BANDS=1).
When the stellar light templates are chosen, the code minimizes ||(Ftot-Fmodel)+(FAGN - F2)||2.
When the quasar templates are chosen, the code minimizes ||(Ftot-Fmodel)+(FAGN - F1 - F2)||2.
See descriptions: Tsukui, Wisnioski, Krumholz and Battisti, 2023
See here, for a quick example of how to use it and reproduce the result of Tsukui et al. 2023.
Takafumi Tsukui: tsukuitk23@gmail.com
Stardust is a Python package designed to extract galaxy properties by fitting their multiwavelength data to a set of linearly combined templates.
This algorithm brings together three different families of templates:
- UV+Optical emission from dust unobscured stellar light
- AGN heated dust in the MIR
- IR dust reprocessed stellar light in the NIR-FIR
One of the features of Stardust is that the template fitting does not rely on energy balance. As a result, the total luminosity of dust obscured and dust unobscured stellar light do not rely on each other, and it is possible to fit objects (e.g. SMGs) where the energy balance approach might not be necessarily applicable. A detailed description of Stardust and its first application is presented in Kokorev et al. 2021.
python
python>=3.9.0
numpy
scipy
matplotlib
astropy
multiprocess
tqdm
For MacOS users, it is recommended to create a separate Python 3.6.10 environment with miniconda. See instructions here.
You can then pull Stardust and install it with pip.
$ git clone https://github.com/VasilyKokorev/stardust.git
$ cd stardust
$ pip install .
The primary use of this code is to extract the parameters from the infrared photometry. The program also has the ability to fit AGN and Stellar emission templates if the user desires to do so. It is recommended to use this code within a Jupyter notebook.
See here for a quick example of how to fit a catalogue.
An example dataset, a subset from the COSMOS Super-Deblended Catalogue 2 (Jin+18) along with the example configuration files are provided in the example folder.
See the quickstart guide and docs folder for more detailed instructions.
Filter curves are adopted from eazy-py by Gabe Brammer.
1. The module does not install: If you are on Linux, try using Python 3.9.1 instead.
Vasily Kokorev: vasily.kokorev.astro@gmail.com / kokorev@astro.rug.nl