[BUG] Pake preview (and fit) not working #308
Open
opened 2025-03-13 08:04:35 +00:00 by saeckech
·
5 comments
No Branch/Tag Specified
Labels
Clear labels
Kind/Breaking
Kind/Bug
Kind/Crash
Kind/Documentation
Kind/Enhancement
Kind/Feature
Reviewed/Won't Fix
Type/BDS
Type/DSC
Type/Fit
Type/General
Type/NMR
Breaking change that won't be backward compatible
Something is not working
This issue describes unexpected shutdowns or non-responsive behaviors
Improves documentation
Improve existing functionality
New feature
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Priority
Very low
The priority is very low
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid isssue
This issue won't be fixed
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Status
On Hold
This issue or pull request is on hold
Status
Stale
Issues without activity for more than 6 months
Issues connected to BDS
Issues connected to DSC
Issue is connected to fitting data
issue connected to general functionality
Issues connected to NMR
No labels
Kind/Bug
Milestone
No items
No Milestone
Assignees
aahmad (Arshid Ahmad)
anisar (Aqsa Nisar)
ckolb (Christian Kolb)
cwolter (Celine Wolter)
dominik (Dominik Demuth)
dwuerz (David Würz)
elisa (Elisa Steinruecken)
fwolter (Finn Wolter)
huczhang (Huanchen Zhang)
jepsinrajkp (Jepsinraj Kakkuzhiyulla Parambath)
kschroeder (Katharina Schroeder)
malbrecht (Maximilian Albrecht)
mandal (Suvendu Mandal)
markusro (Markus Rosenstihl)
mbergmann (Mark Bergmann)
mhaneke (Markus Haneke)
robin (Robin Horstmann)
saeckech (Christoph Säckel)
skloth (Sebastian Kloth)
skrueger (Sandra Krüger)
ypiliauskaya (Yauheniya Piliauskaya)
Clear assignees
No Assignees
dominik
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: IPKM/nmreval#308
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.