Closed 0xygens closed 1 year ago
Hi, Thanks for your question and sorry for my late response. For metallicity (logzsol), the allowed range for Padova isochrone is from -2.0 to 0.2 (in logarithmic scale). Please see page 13 in FSPS manual here https://github.com/cconroy20/fsps/blob/master/doc/MANUAL.pdf.
For the running time of MCMC, it usually takes ~10-15 minutes for nsteps=1000 and nwalkers=100, when run on 5 cores.
If you have more questions, please feel free to ask here or write me an email. Thanks!
Thank you very much for your timely and professional reply !
The issue has been resolved and I will close it.
Hi!Abdurro'uf
Thank you very much for your timely and accurate reply last time. Through this time of learning and using, the excellent code you have written has given encouraging results. However, during this period, I encountered several questions, which I could not find the answer to by myself.
nmodels = 100000 # number of model spectra to be generated nproc = 30 # number of processors to be used in the calculation
params_range = {'log_age':[-1.0,1.14], 'dust1':[0.0,3.0], 'dust2':[0.0,3.0], 'logzsol':[-5.0,5.0]}
name_out = 'model_test_MCMC_c' # name of the output HDF5 file save_models_rest_spec(imf_type=imf_type, sfh_form=sfh_form, dust_law=dust_law, params_range=params_range, duste_switch=duste_switch, add_neb_emission=add_neb_emission, add_agn=add_agn, nmodels=nmodels,nproc=nproc, name_out=name_out)