thanx anders for previous problem..
actually now there is problem in charge stability diagram
"
[array([-8., -6., -4., -2., 0., 2., 4., 6., 8.]), array([-8., -6., -4., -2., 0., 2., 4., 6., 8.]), array([-8., -6., -4., -2., 0., 2., 4., 6., 8.]), array([-8., -6., -4., -2., 0., 0., 2., 4., 6., 8.]), array([-8., -6., -4., -2., 0., 2., 4., 6., 8.])]
Traceback (most recent call last):
File "c:\users\vikash\appdata\local\temp\5582308989099040.py", line 30, in <module>
f = SplineInterpolation1D(voltage_list,energy_list[i+1]-energy_list)
ValueError: operands could not be broadcast together with shapes (10) (9) "