electricpy.math.gaussian

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

Gaussian Function.

This function is designed to generate the gaussian distribution curve with configuration mu and sigma.

Parameters:
x : float

The input (array) x.

mu : float, optional

Optional control argument, default=0

sigma : float, optional

Optional control argument, default=1

Return type:

Computed gaussian (numpy.ndarray) of the input x