sdynpy.signal_processing.sdynpy_frf.fft2frf

fft2frf(references, responses, method='H1')[source]

Creates an FRF matrix given ffts of responses and references

This function creates a nf x no x ni FRF matrix from the ffts provided.

Parameters
  • references (ndarray) – A ni x nf or nf array where ni is the number of references and nt is the number of frequencies in the fft.

  • responses (ndarray) – A no x nf or nf array where no is the number of responses and nf is the number of time frequencies in the fft.

  • method (str in ['H1','H2','Hv','Hs']) – The method for creating the frequency response function.

Returns

H – A nf x no x ni array where nf is the number of frequency lines, no is the number of outputs, and ni is the number of inputs. The output frequency lines will correspond to the frequency lines in the ffts.

Return type

ndarray

Notes

There are requirements for the shapes of references and responses for some FRF computation methods. No averaging is performed by this function.