dnarayanan / powderday

powderday dust radiative transfer
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

Post-AGB stars, fixed abundance ratios can be now added in nebular emission along with other smaller changes. #102

Closed prerakgarg07 closed 4 years ago

prerakgarg07 commented 4 years ago

New parameters added:

PAGB_min_age: Sets the minimum age limit for calculating nebular emission from post-AGB stars PAGB_max_age: Sets the maximum age limit for calculating nebular emission from post-AGB stars PAGB_N_enhancement: Enhances the Nitrogen abundance Post-AGB stars by increasing the log(N/O) by this value PAGB_C_enhancement: Same but for log(C/O)

imf1: Logarithmic slope of the IMF over the range 0.08 < M < 0.5. imf2: Logarithmic slope of the IMF over the range 0.5 < M < 1.0. imf3: Logarithmic slope of the IMF over the range 1.0 < M < 120.

FORCE_N_O_ratio: If set, then we force the log of N/O ratio to be N_O_ratio (next parameter) N_O_ratio: This sets the log of N/O ratio if FORCE_N_O_ratio is set

use_cmdf: If set to true CMDF can be applied to star particles even when nebular emission is turned off. Can be used for a one to one comparison between models with and without nebular emission.

Rinner_per_Rs: Rinner is now taken to be this parameter times the Stromgren Radius.

dump_emlines: Dumps out emission lines in a file before going through the radiative transfer. Works for both cloudy on the fly and lookup tables.

Other Changes: Removed calc_emline(): Emission lines are now dumped from within the main function. This can be turned on or off using dump_emiles parameter.

Removed neb_file_output: This parameter was redundant. The nebular diagnostic file can now be turned on or off using NEB_DEBUG in the DEBUGGING section.

Removed stellar_cluster_mass: This parameter was redundant. Fixed cluster mass can be set by setting cmdf_bins = 1 and cmdf_min_mass to the desired cluster mass.

Removed neb_dust: It is not properly implemented at the moment. The dust has to be properly taken into account to avoid double counting.