redback.sed.blackbody_to_flux_density

redback.sed.blackbody_to_flux_density(temperature, r_photosphere, dl, frequency)[source]

A general blackbody_to_flux_density formula

Parameters:
  • temperature – effective temperature in kelvin

  • r_photosphere – photosphere radius in cm

  • dl – luminosity_distance in cm

  • frequency – frequency to calculate in Hz - Must be same length as time array or a single number. In source frame

Returns:

flux_density