pyOMA.core.PostProcessingTools.compare_modes#

pyOMA.core.PostProcessingTools.compare_modes(f_a, d_a, phi_a, f_b, d_b, phi_b, **kwargs)[source]#

Compares two sets of modes (set a and set b) by first pairing them and then displaying statistics on the identified pairs and a full MAC matrix for manual assessment.

Parameters:
  • f_a (np.ndarray) – Arrays holding the natural frequencies of both sets of modes. The dimension (number of modes) of both sets can be different.

  • f_b (np.ndarray) – Arrays holding the natural frequencies of both sets of modes. The dimension (number of modes) of both sets can be different.

  • d_a (np.ndarray) – Arrays holding the damping ratios in percent of both sets of modes. The dimension (number of modes) of both sets can be different.

  • d_b (np.ndarray) – Arrays holding the damping ratios in percent of both sets of modes. The dimension (number of modes) of both sets can be different.

  • phi_a (np.ndarray) – Arrays holding the mode shapes of both sets of modes. The first dimension is the number of channels, that must match in both arrays.

  • phi_b (np.ndarray) – Arrays holding the mode shapes of both sets of modes. The first dimension is the number of channels, that must match in both arrays.

  • kwargs – Additional kwargs are passed to pair_modes

Returns:

  • inds_a, inds_b (np.ndarray) – Arrays holding the indices of paired modes

  • unp_a, unp_b (np.ndarray) – Arrays holding the indices of modes that could not be paired