luminosity_to_flux

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

Distance is assumed to be in kpc