vtsegtime
Creates a vector of evenly spaced times that segment an input time vector for use in a variable time waterfall plot.
Syntax
vtsegtime(resp_time, seg_type, seg_var, order_res, rps_time, rps_mag, rps_reorder)
Argument
- resp_time
 - Vector of response time samples.
 - seg_type
 - String indicating “slices” or “steps”.
 - seg_var
 - Either the number of slices or the step size.
 - order_res
 - Orders resolution factor.
 - rps_time
 - Vector of times samples at which revolution per second measurements are taken.
 - rps_mag
 - Vector of revolution per second measurements.
 - rps_reorder
 - String for future use. Set to "false".
 
Example
| Templex Expression | Results | 
|---|---|
{vtsegtime(resp_time, “slices”, 100, 1, rps_time,
                                        rps_mag, “false”)} | 
                                A vector of length 100 containing the time for the center of each segment. | 
Comments
The vtsegtime function is used to segment a time vector for the creation of a variable time waterfall plot. The segmenting can be performed either by specifying the number of slices or the size of the step, depending on the seg_type variable. The rps inputs are needed to compute the variable window sizes within the total time interval. The variable window size is what distinguishes a short time plot from a variable time plot.
This function is called from the Waterfall panel in HyperGraph 3D. Typically, this function is not called directly.