Skip to content

Commit

Permalink
Update fitting.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mtakahiro committed Jan 26, 2024
1 parent 5430cdc commit 1d88caa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gsf/fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __init__(self, inputs, c:float=3e18, Mpc_cm:float=3.08568025e+24, m0set:floa
'Fitting' : ['MC_SAMP', 'NMC', 'NWALK', 'NMCZ', 'NWALKZ',
'FNELD', 'NCPU', 'F_ERR', 'ZVIS', 'F_MDYN',
'NTEMP', 'DISP', 'SIG_TEMP', 'VDISP',
'FORCE_AGE', 'NORDER_SFH_PRIOR', ],
'FORCE_AGE', 'NORDER_SFH_PRIOR', 'NEBULAE_PRIOR'],

'Data' : ['ID', 'MAGZP', 'DIR_TEMP',
'CAT_BB', 'CAT_BB_DUST', 'SNLIM',
Expand Down Expand Up @@ -379,14 +379,12 @@ def update_input(self, inputs, c:float=3e18, Mpc_cm:float=3.08568025e+24, m0set:
self.fneb = True
try:
# Correlation between Aneb and LW age? May add some time; see posterior_flexible
if inputs['PRIOR_NEBULAE'] == '1':
if inputs['NEBULAE_PRIOR'] == '1':
self.neb_correlate = True
else:
self.neb_correlate = False
except:
self.neb_correlate = False
# For testing;
self.neb_correlate = True

try:
self.logUMIN = float(inputs['logUMIN'])
Expand Down

0 comments on commit 1d88caa

Please sign in to comment.