[AstroPy] blackbody_lambda

eperez eperez at iaa.es
Fri Sep 10 07:41:14 EDT 2021


I am running Astropy 4.3.1.

I am not able to reproduce these two lines of code, where i am interested in the BB in Flux_lambda units:

  from astropy.analytic_functions import blackbody_lambda
  flux_lam = blackbody_lambda(wv*u.AA, temperature*u.K)

I understand that astropy.analytic_functions is no longer available, but i cannot find the equivalent blackbody_lambda in the current:  from astropy.modeling.models import BlackBody

Thanks for your help.
ES.Enrique


More information about the AstroPy mailing list