electricpy.math.funcrms

electricpy.math.funcrms(func, T)[source]

Root-Mean-Square (RMS) Evaluator for Callable Functions.

Integral-based RMS calculator, evaluates the RMS value of a repetative signal (f) given the signal’s specific period (T)

Parameters:
func : float

The periodic function, a callable like f(t)

T : float

The period of the function f, so that f(0)==f(T)

Returns:

RMS

Return type:

The RMS value of the function (f) over the interval ( 0, T )