def funcGauss1D(x, mu, sig):
arrOut = np.exp(-np.power((x - mu)/sig, <NUM_LIT>)/<NUM_LIT:2>)<EOL><INDENT>arrOut = arrOut/(np.sqrt(<NUM_LIT>*np.pi)*sig)<EOL><DEDENT>arrOut = arrOut/np.sum(arrOut)<EOL>return arrOut<EOL>
Create 1D Gaussian. Source:
    http://mathworld.wolfram.com/GaussianFunction.html