electricpy.math.gausdist

electricpy.math.gausdist(x, mu=0, sigma=1)[source]

Gaussian Distribution Function.

This function is designed to calculate the generic distribution of a gaussian function with controls for mu and sigma.

Parameters:
  • x (numpy.ndarray) – The input (array) x

  • mu (float, optional) – Optional control argument, default=0

  • sigma (float, optional) – Optional control argument, default=1

Returns:

F – Computed distribution of the gausian function at the points specified by (array) x

Return type:

numpy.ndarray