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.

velocity_glon_glat

gammapy.utils.coordinates.velocity_glon_glat(x, y, z, vx, vy, vz)[source]

Compute projected angular velocity in galactic coordinates.

Parameters:
x, y, z : Quantity

Position in x, y, z direction

vx, vy, vz : Quantity

Velocity in x, y, z direction

Returns:
v_glon, v_glat : Quantity

Projected velocity in Galactic sky coordinates