stsegrps

Creates a vector of unevenly spaced times that segment an input time vector for use in a short time waterfall plot.

Syntax

stsegrps(resp_time, seg_type, seg_var, win_size, 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.
win_size
The window size for each segment.
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
{stsegrps(resp_time, “slices”, 100, 512, rps_time, rps_mag)} A vector of length 100 containing the time for the center of each segment.

Comments

The stsegrps function is used to segment a time vector for the creation of a short 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 times are unevenly spaced because they correspond to evenly spaced rps measurements.

This function is called from the Waterfall panel in HyperGraph 3D. This function is typically not called directly.