Physics, Data Science, Least Squares, Chemometrics, Spectroscopy.
function of x return intensity/(sigma * np.sqrt(2*np.pi)) * np.exp(-0.5*((x-mu)/sigma)**2 and use it to create three different components: # X-axis (Wavelengths) x_range = np.linspace(100, 200, 1000) # Let's create three different components # Component A mu_a1 = 120 sigma_a1 = 2 intensity_a1 = 1