dkriegner / xrayutilities

xrayutilities - a package with useful scripts for X-ray diffraction physicists
http://xrayutilities.sourceforge.io
GNU General Public License v2.0
81 stars 29 forks source link

implementation of FitModel is very weird #150

Closed dkriegner closed 1 year ago

dkriegner commented 1 year ago

FitModel somehow extends a class from lmfit without actually being derived from it. Lots of methods are dynamically defined which makes the code somehow badly readable and the linter go nuts (for good reason).

If possible FitModel should be inherited from lmfit.Model