astrofrog / sedfitter

Python version of the SED fitter from Robitaille et al., 2007, ApJS 169 328
http://sedfitter.readthedocs.org
BSD 2-Clause "Simplified" License
20 stars 22 forks source link

av range fixed in the fitter #56

Closed gongyan2444 closed 6 years ago

gongyan2444 commented 6 years ago

Hi, I was trying to model a YSO SED with the following command as given in the typical workflow.

fit('YSO1.dat', filters, apertures, model_dir, 'output.fitinfo', extinction_law=extinction, distance_range=[440, 440] * u.pc, av_range=[1., 100.])

However, the fitting results seem to be only fitted with the minimum value of av, i.e., av=1, while no errors were reported during my run. In fact, I want the av value to be variable during the run. How can I fix this problem?

Cheers, Yan

gongyan2444 commented 6 years ago

It turns out to be an issue of new filters. The frequencies have be to reordered in ascending order.