Skip to main content

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

  1. 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
  2. Finds signal value at the desired end time
  3. Finds the closest signal indices to the desired start and end time
  4. Outputs truncated signal

Truncate Example

Before truncate

Before signal is truncated

After truncate

After signal is truncated to have a start time of 0.1 seconds and end time of 0.2 seconds