The way I see it is like this:
From the Horizons vector output, you have x-y-z position of Sun wrt object, so
can get the radial vector. Normalize it to get the unit vector basis u1.
The velocity vector is in the plane of motion. Normalize it to get v1, then
compute the cross-product v1 x u1 to get 2nd basis vector out of the plane, u2.
Then compute the cross product of the radial (in-plane) and out-of-plane
basis vectors to get a third vector in the plane: u1 x u2 = u3
u3 defines the tangential direction. Resolve the original velocity
vector along it (dot product) to get the tangential component of velocity.
Well that's fine but I need to work out from an example:
Here is the data from one particular time for a spacecraft relative to the Sun:
2453736.875000000, A.D. 2006-Jan-01 09:00:00.0000, -2.156346497896881E+07, 1.320794658183279E+08, -4.625147324320897E+05, -2.902293022684082E+01, -9.759936201814883E+00, -6.652160516632621E-02, 4.464052560742120E+02, 1.338289289826075E+08, -4.955740573003551E+00
where the data is
JDCT Epoch Julian Date, Coordinate Time
X x-component of position vector (km)
Y y-component of position vector (km)
Z z-component of position vector (km)
VX x-component of velocity vector (km/sec)
VY y-component of velocity vector (km/sec)
VZ z-component of velocity vector (km/sec)
LT One-way down-leg Newtonian light-time (sec)
RG Range; distance from coordinate center (km)
RR Range-rate; radial velocity wrt coord. center (km/sec)
in that order.
Q1: How do I calculate u1, u2, u3?
Q2: The radial velocity is RR, can we confirm that with a calculation?