pandas_3ph_sine

typhoon.test.signals.pandas_3ph_sine(amplitude=1, frequency=60, duration=1, Ts=0.0001, phase=0)

Generates a pandas DataFrame with a set of three balanced sine waves with given characteristics.

Parameters:
  • amplitude (float) – Sine amplitude

  • frequency (float) – Sine frequency, in Hz

  • duration (float) – Time duration of the whole signal, in seconds

  • Ts (float) – Sampling rate of the sine wave.

  • phase (float) –

Returns:

Set of three-phase sinusoidal signals.

Return type:

DataFrame

Notes

This function can typically be used to easily get a DataFrame for learning and quick testing purposes.

Examples

>>> from typhoon.test.signals import pandas_3ph_sine
>>> sines = pandas_3ph_sine()  # with default parameters
>>> print(sines)