ICSM / ampere

A tool to fit the SED and spectra of dusty objects to constrain, among other things, the dust properties and mineralogy
6 stars 2 forks source link

Update the call to the astropy blackbody model #77

Open jeroenbouwman opened 8 months ago

jeroenbouwman commented 8 months ago

In the module ampere/models/blackbodies.py the call the astropy blackbody should be updated to:

from astropy.modeling.models import BlackBody

and then change the call as follows:

bb = BlackBody(temperature=t) bb = bb(freq)

Nite that the temperature needs to have a unit.