Skip to content

Commit

Permalink
fix template duste_gamma and agn_tau initial values to be within the …
Browse files Browse the repository at this point in the history
…prior.
  • Loading branch information
bd-j committed Apr 11, 2019
1 parent 9bdcf51 commit b5f4645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prospect/models/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def adjust_continuity_agebins(parset, tuniv=13.7, nbins=7):


duste_gamma = {"N": 1, "isfree": False,
"init": 0.0, "units": 'Mass fraction of dust in high radiation intensity.',
"init": 1e-3, "units": 'Mass fraction of dust in high radiation intensity.',
"prior": priors.LogUniform(mini=1e-3, maxi=0.15)}

_dust_emission_ = {"add_dust_emission": add_duste,
Expand Down Expand Up @@ -267,11 +267,11 @@ def adjust_continuity_agebins(parset, tuniv=13.7, nbins=7):
add_agn = {"N": 1, "isfree": False, "init": True}

fagn = {'N': 1, 'isfree': False,
'init': 0.01, 'units': r'L_{AGN}/L_*',
'init': 1e-4, 'units': r'L_{AGN}/L_*',
'prior': priors.LogUniform(mini=1e-5, maxi=3.0)}

agn_tau = {"N": 1, 'isfree': False,
"init": 1.0, 'units': r"optical depth",
"init": 5.0, 'units': r"optical depth",
'prior': priors.LogUniform(mini=5.0, maxi=150.)}

_agn_ = {"fagn": fagn, # FSPS parameter.
Expand Down

0 comments on commit b5f4645

Please sign in to comment.