Mismatch between fitting curve and origin data

67 Views Asked by At

I want to plot my data but there are edges in the curve so I am trying to smooth it using polynomial (tried different degrees), spline, or exponential functions but there is a mismatch with the original data.

Here are the codes and plots:

Data

copper = np.array([0, 1, 2, 3, 4, 5, 7, 8, 10, 15])

transmission = np.array([1.000, 0.269, 0.150, 0.097, 0.064, 0.046, 0.026, 0.020, 0.012, 0.003])

mismatching plot mismatch -exponential function code

Data

copper = np.array([0,1, 2, 3, 4, 5, 7, 8, 10, 15])
transmission = np.array([1.000, 0.169, 0.077, 0.043, 0.025, 0.016, 0.011, 0.005, 0.003, 0.000])

the curve is uneven uneven-spline function

0

There are 0 best solutions below