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 : Quantity

Position in x direction

y : Quantity

Position in y direction

z : Quantity

Position in z direction

vx : Quantity

Velocity in x direction

vy : Quantity

Velocity in y direction

vz : Quantity

Velocity in z direction

Returns:

v_glon : Quantity

Projected velocity in Galactic longitude

v_glat : Quantity

Projected velocity in Galactic latitude