Fourierdarstellung¶
- class +AMrotorSIM.+Graphs.@Fourierdarstellung.Fourierdarstellung(rotorsystem, experiment)¶
Bases:
handleClass for visualization of the time integration results as fourier transform
- abtastrate = None¶
sampling rate
- Fourierdarstellung(rotorsystem, experiment)¶
Constructor
- Parameters
rotorsystem (
object) – Object of type Rotorsystemexperiment (
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) – Datafs (
double) – Sampling rate
- Returns
Frequency vector and amplitude (complex and absolut) f,Y,AP