electricpy.wrms

electricpy.wrms(func, dw=0.1, NN=100, quad=False, plot=True, title='Power Density Spectrum', round=3)[source]

WRMS Function.

This function is designed to calculate the RMS bandwidth (Wrms) using a numerical process.

Parameters:
  • func (function) – The callable function to use for evaluation

  • dw (float, optional) – The delta-omega to be used, default=0.1

  • NN (int, optional) – The total number of points, default=100

  • quad (bool, optional) – Control value to enable use of integrals default=False

  • plot (bool, optional) – Control to enable plotting, default=True

  • title (string, optional) – Title displayed with plot, default=”Power Density Spectrum”

  • round (int, optional) – Control to round the Wrms on plot, default=3

Returns:

W – Calculated RMS Bandwidth (rad/sec)

Return type:

float