This update substantially updates how nebular emission is calculated from DIG. Now apart from the option to use Black et al. (1987) ISRF as the input SED template users can also select the option to calculate the input SED shape by taking a distance weighted average of the CLOUDY output spectrum of nearby stars.
Parameters added
HII_dust - Adds dust grains to the CLOUDY model (works only for HII regions at the moment)
n_photons_DIG - Number of photons for calculating the energy dumped in each cell for DIG calculation
use_black_sed - Toggles between using the new and the old version of calculating the ISRF
DIG_min_logU - Only gas cells with logU greater than this are considered for DIG calculation
stars_max_dist - Only stars within this distance are considered for getting the input spectrum shape
max_stars_num - This sets the upper limit on the number of stars that are used for calculating the input spectrum shape
SKIRT_DATA_DUMP - Toggles saving various data files useful for running SKIRT are saved.
SAVE_NEB_SEDS - Saves the CLOUDY output SEDs in a file
This update substantially updates how nebular emission is calculated from DIG. Now apart from the option to use Black et al. (1987) ISRF as the input SED template users can also select the option to calculate the input SED shape by taking a distance weighted average of the CLOUDY output spectrum of nearby stars.
Parameters added
Parameters removed