Missing fit stats #181

Closed
opened 2023-12-15 11:10:20 +00:00 by dominik · 0 comments
Member

Ich wollte eben ein paar Datensätze fitten (basic->exponential function, sign=decaying, x0type=rate). Das ging aber leider schief als ich x0 global fitten wollte. Bei individuellen Fits gibts keine Probleme. In beiden Fällen habe ich eine Custom Fit Range gesetzt. Der (globale) Fit läuft an, es erscheint aber keine Fitvorschau. Stattdessen gibts eine Fehlermeldung mit einem KeyError, die mich an issue#150 erinnert.

ErrorLog:
15/12/2023 11:46:14 - INFO - root : Successful fit
15/12/2023 11:46:14 - ERROR - root : Uncaught exception:
Traceback (most recent call last):
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/main/mainwindow.py", line 976, in show_fit_results
self.fitresult_dialog(results)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 88, in call
self.set_results(results)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 106, in set_results
self.set_parameter(0)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 134, in set_parameter
self.show_results(idx)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 148, in show_results
self.set_statistics(set_id)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 282, in set_statistics
best_idx = col if best_val > stats[k] else max(0, best_idx)
KeyError: 'AICc'

Originally posted by @saeckech in /IPKM/nmreval/issues/150#issuecomment-1213

Ich wollte eben ein paar Datensätze fitten (basic->exponential function, sign=decaying, x0type=rate). Das ging aber leider schief als ich x0 global fitten wollte. Bei individuellen Fits gibts keine Probleme. In beiden Fällen habe ich eine Custom Fit Range gesetzt. Der (globale) Fit läuft an, es erscheint aber keine Fitvorschau. Stattdessen gibts eine Fehlermeldung mit einem KeyError, die mich an issue#150 erinnert. ErrorLog: 15/12/2023 11:46:14 - INFO - root : Successful fit 15/12/2023 11:46:14 - ERROR - root : Uncaught exception: Traceback (most recent call last): File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/main/mainwindow.py", line 976, in show_fit_results self.fitresult_dialog(results) File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 88, in __call__ self.set_results(results) File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 106, in set_results self.set_parameter(0) File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 134, in set_parameter self.show_results(idx) File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 148, in show_results self.set_statistics(set_id) File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 282, in set_statistics best_idx = col if best_val > stats[k] else max(0, best_idx) KeyError: 'AICc' _Originally posted by @saeckech in /IPKM/nmreval/issues/150#issuecomment-1213_
dominik added the
Kind/Bug
label 2023-12-15 11:10:25 +00:00
dominik self-assigned this 2023-12-15 11:10:31 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IPKM/nmreval#181
No description provided.