|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox velocity_axis.pro
VELOCITY_AXIS |
function VELOCITY_AXIS(data, [veldef=string], [frame=string], [true_frame=variable], [true_veldef=variable]) |
Construct a velocity axis from a data structure.
Parameters | |
data |
The data structure to use in constructing a velocity axis. |
Keywords | |
veldef |
The velocity definition to use, chosen from 'RADIO', 'OPTICAL', and 'TRUE'. If not supplied, the data.velocity_definition value will be used. |
frame |
The reference frame to use. If not supplied, the data.velocity_definition value will be used. See frame_velocity for a full list of supported reference frames. |
true_frame |
The actual rest frame used in constructing the velocity axis. The only way this will not equal the frame argument is if that argument was invalid. In that case, this keyword will be the same as the frame in data.velocity_definition. |
true_veldef |
The actual velocity frame used in constructing the velocity axis. The only way this will not equal the frame argument is if that argument was invalid. In that case, this keyword will be the same as data.velocity_definition. |