This is my experimental data, and I want to fit it: position = np.array([ 5, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.5, 13, 13.5, 14, 14.5, 15, 15.5, 16, 16.5, 17, 17.5, 18, 18.5, 19, 19.5, 20 ]) voltage0_1 = np.array([ 0.1, 0.011, 0.021, 0.002, 0.006, 0.022, 0.009, 0.184, 0.166, 0.126, 0.728, 0.143, 0.54, 0.841, 0.052, 0.616, 0.332, 0.058, 0.228, 0.032, 0.017, 0.008, 0.001, 0.012, 0.019, 0.003, 0.03, 0.006, 0.004, 0.003, 0 ]) It is data for interference. The function I used was sin square multiple cos square. However, I can't make several peaks. Continue reading...