flux_to_luminosity

gammapy.utils.coordinates.flux_to_luminosity(flux, distance)[source]

Distance is assumed to be in kpc