eandklahn / molmag_ac_gui

A simple tool to fit magnetic relaxation times in molecular magnetism
MIT License
0 stars 0 forks source link

Fitting for X' and X" fails #2

Closed eandklahn closed 3 years ago

eandklahn commented 3 years ago

Elements of the v, Xp and Xpp can be NaNs, and lmfit does not handle this

eandklahn commented 3 years ago

Implemented search in "fit_Xp_Xpp_standalone" to check for NaNs and remove them from the arrays before the fitting commences.

eandklahn commented 3 years ago

Changed the solution to remove rows with NaN-values already at loading the data