[BUG] Pake preview (and fit) not working #308
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current behavior
In order to check D2O coupling parameters, I wanted to (manually) fit a Pake spectrum to partially frozen water data (appended 'data'-data). This worked fine some time ago (appended 'preview_old'-data and image). Today, trying to repeat everything with changed fit/preview parameters (eta=0 instead of 0.1), the preview does not appear and a fit (levenberg-marquard) gives the error message 'residuals not finite at the initial point'. Fitparameters were fixed or (reasonably?) restrained. Nelder-Mead and ODR calculate something upon fitting, but yield only NaN.
Version
2025-02-13
Expected behavior
Concisely, I expected a Pake-shaped something to appear
Steps to reproduce
No response
Log messages
Anything else?
the python-2 version of the auswerteprogram at Mathilda's computer manages a preview, but the preview looks weird. I'm guessing it has too few x-values.
I tried fits and preview with and without excluding the narrowed line of the spectrum
Hm, works for me. Most often a problem of ill-chosen start parameters and bounds. What did you use as initial values?
I used the values which worked previously for A, delta, eta, Sigma_B and t_pulse. I also tried different values for A over several orders of magnitude, eta=0.0 and Sigma_B=1,0.1 and tried out both t_pulse=2.5 and t_pulse=2.5e-6.
I see ze problem: Sigma_B is too small, anything below a couple 100 Hz breaks the calculation.
also solves the problem for me :)
is it a pake- / histogram-specific issue, or could it happen for normal functions as well?
This one is due to Pake weirdness.