pyyeti.cla.maxmin

pyyeti.cla.maxmin(response, x)[source]

Compute max & min of a response matrix.

Parameters:
  • response (2d ndarray) – Matrix where each row is a response signal.

  • x (1d ndarray) – X-axis vector (eg, time or frequency); len(x) = response.shape[1]

Returns:

  • A SimpleNamespace with the members

  • ext (2d ndarray) – Two column matrix: [max, min]

  • ext_x (2d ndarray) – Two column matrix: [x_of_max, x_of_min]