weldx.util.sine¶
-
weldx.util.
sine
(f, amp, bias=None, phase=<Quantity(0, 'radian')>)¶ Create a simple sine TimeSeries from quantity parameters.
f(t) = amp*sin(f*t+phase)+bias
- Parameters
f (pint.Quantity) – Frequency of the sine (in Hz)
amp (pint.Quantity) – Sine amplitude
bias (pint.Quantity) – function bias
phase (pint.Quantity) – phase shift
- Returns
- Return type