Fourierdarstellung

class +AMrotorSIM.+Graphs.@Fourierdarstellung.Fourierdarstellung(rotorsystem, experiment)

Bases: handle

Class for visualization of the time integration results as fourier transform

abtastrate = None

sampling rate

Fourierdarstellung(rotorsystem, experiment)

Constructor

Parameters
  • rotorsystem (object) – Object of type Rotorsystem

  • experiment (object) – Object of type Experiments.Stationare_Lsg or Experiments.Hochlaufanalyse

Returns

Object for Fourier representation of time results

+AMrotorSIM.+Graphs.@Fourierdarstellung.plot(self, sensors, direction)

Plot of the Fourier analysis

Parameters
  • sensors (object) – Time signal of desired sensor (rotorsystem.sensors)

  • direction (double) – Sensor direction (1 for x and 2 for y, default x and y)

Returns

Figure of the Fourier spectrum

+AMrotorSIM.+Graphs.@Fourierdarstellung.private.FFT_Data_Gesamt(X, fs)

Carries out the FFT and provides the one sided amplitude spectrum

Parameters
  • X (vector) – Data

  • fs (double) – Sampling rate

Returns

Frequency vector and amplitude (complex and absolut) f,Y,AP