Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

luminosity_to_flux

gammapy.utils.coordinates.luminosity_to_flux(luminosity, distance)[source]

Distance is assumed to be in kpc