clip

The 3ms criterion commonly used to measure potential for chest injury.

Syntax

clip(vector1, vector2, scalar1, [1|2], [on|off])

Arguments

vector1
The time vector of data to analyze (second).
vector2
The chest acceleration vector (g).
scalar1
Window in millisecond (usually 3ms for chest).
1|2
Return vector type (optional):
1 (X-axis), a single vector containing the following four members:
  • [0]=lower time window (milliseconds)
  • [1]=lower time window (milliseconds)
  • [2]=upper time window (milliseconds)
  • [3]=upper time window (milliseconds)
2 (Y-axis ), a single vector containing the following four members:
  • [0]=0.0
  • [1]=clip value (g)
  • [2]=clip value (g)
  • [3]=0.0
3 (Attachment point)
  • The index of the maximum value within the clip window.
If not present or (arg4 != 1 && arg4 !=2), a single vector containing the following three members:
  • [0]=clip value (g)
  • [1]=lower time window (milliseconds)
  • [2]=upper time window (milliseconds)
Used for notes.
0|1
Flag to turn on debug mode and print to the message log (optional).
  • 0=off (default)
  • 1=on

Example

y = clip(p1w1c1.x*.001, p1w1c1.y/9.81, 3, 1)
x = clip(p1w1c1.x*.001, p1w1c1.y/9.81, 3, 2)

Comments

clip computes the maximum value that the linear interpolation of a time series (typically a chest resultant acceleration filtered to 300 Hz cutoff) meets or exceeds for an interval of at least 3 ms, based on the linearly interpolated time series. A popup window will display the delta time.