Produced by IDL 7.1.1
Developer Documentation

./plotter
convertxvalues.pro

Last modification date:
Wed Sep 28 13:27:13 2016

convertxvalues

function convertxvalues(dc, xvalues, scale, type, frame, veldef, xoffset, voffset, newscale, newtype, newframe, newveldef, newxoffset, newvoffset)

Function to convert a set of xvalues from one frame, veldef, et al to another. This function is not intended to be called by users.

Returns
The converted xvalues.
Version
$Id$

Parameters
dc
in, required
data container
The data container to use in the actual conversion code calls.
xvalues
in, required
vector of doubles
The values to be converted.
scale
in, required
double
The amount that xvalues has been scaled from its base value (channels, Hz, or m/s).
type
in, required
integer
The type of xvalues to convert (0=Channels, 1=Frequency, 2=Velocity).
frame
in, required
string
The frame that xvalues is in.
veldef
in, required
string
The velocity definition used in xvalues.
xoffset
in, required
double
The amount of linear offset in x that must be added to these values before scaling to get to the xvalues in the input frame with voffset.
voffset
in, required
double
The velocity offset (TRUE, m/s) that must be accounted for before converting to channels.
newscale
in, required
double
The amount that the converted xvalues should been scaled to relative its base value (channels, Hz, or m/s).
newtype
in, required
integer
The new type of xvalues after conversion (0=Channels, 1=Frequency, 2=Velocity).
newframe
in, required
string
The new frame that the converted xvalues are in.
newveldef
in, required
string
The new velocity definition used in the converted xvalues.
newxoffset
in, required
double
The new xoffset to be subtracted from the data after scaling.
newvoffset
in, required
double
The new velocity offset (TRUE, m/s) that frequency and velocities should be shifted by before scaling.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:21 2016