motion_since_birth¶
-
gammapy.utils.coordinates.motion_since_birth(v, age, theta, phi)[source]¶ Compute motion of a object with given velocity, direction and age.
Parameters: v :
QuantityAbsolute value of the velocity
age :
QuantityAge of the source.
theta :
QuantityAngular direction of the velocity.
phi :
QuantityAngular direction of the velocity.
Returns: dx :
QuantityDisplacement in x direction
dy :
QuantityDisplacement in y direction
dz :
QuantityDisplacement in z direction
vx :
QuantityVelocity in x direction
vy :
QuantityVelocity in y direction
vz :
QuantityVelocity in z direction