How to use python to separate two gaussian curves?
问题 I measured the fluorescence intensity of thousands of particles and made the histogram, which showed two adjacent gaussian curves. How to use python or its package to separate them into two Gaussian curves and make two new plots? Thank you. 回答1: Basically, you need to infer parameters for your Gaussian mixture. I will generate a similar dataset for the illustration. Generating mixtures with known parameters from itertools import starmap import numpy as np import seaborn as sns import