Physics, Data Science, Least Squares, Chemometrics, Spectroscopy.
will be multiplied by a concentration and summed up together. To make it a bit more real, some noise will be added. # What concentrations we want them to have in our mixture: c_a = 0.5 c_b = 0.3 c_c = 0.2 # Let's build the spectrum to be studied: The mixture spectrum query_spectra = c_a *