galactic

gammapy.utils.coordinates.galactic(x, y, z, obs_pos=None)[source]

Compute galactic coordinates lon, lat (deg) and distance (kpc) for given position in cartesian coordinates (kpc)