Truncate
Overview
This test metric truncates the data to a specified X axis range.
Required Inputs
- Time History Signal
- Desired start time for truncating the signal
- Desired end time for truncating the signal
Calculation
- Finds signal value at the desired start time
- If start time is greater than end time, error will arise
- If start time is less than first time value in signal, start time will be adjusted to first value in signal
- Finds signal value at the desired end time
- Finds the closest signal indices to the desired start and end time
- Outputs truncated signal
Truncate Example