Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Corfunc parameter extraction is not correctly identifying the long period #2453

Closed
smk78 opened this issue Mar 9, 2023 · 2 comments · Fixed by #2463
Closed

Corfunc parameter extraction is not correctly identifying the long period #2453

smk78 opened this issue Mar 9, 2023 · 2 comments · Fixed by #2463
Assignees
Labels
Corfunc Perspective Concerns Correlation Function Perspective

Comments

@smk78
Copy link
Contributor

smk78 commented Mar 9, 2023

Copied from PR #2450.

The Lamellar Parameter Extraction procedure in corfunc is not correctly identifying the Long Period. Transforming the example data ISIS_98929.TXT you get something like this:
image

Clearly, the 'true first maxima' lies around 75 Ang, but the extraction process is focussing on the wiggle about 30 Ang:
image

These data are from polyamide-6 so the actual long period is known (between ~60 - ~75 Ang). So at the moment the perspective is returning an inaccurate estimate. This is further reinforced by simple inspection of the position of the peak in the Q Space data: around 0.067 /Ang. Doing 2.pi/0.067 gives ~ 93 Ang. Almost 3 times the long period being returned at present.
image

The Lp should, I think, always be the first positive maximum (if the background correction has been correctly applied).

@smk78 smk78 added the Corfunc Perspective Concerns Correlation Function Perspective label Mar 9, 2023
@lucas-wilkins
Copy link
Contributor

Yikes, this could be a real issue, and a longstanding one, as I've not really changed this aspect of the calculation. Maybe we can have a chat about this.

@lucas-wilkins
Copy link
Contributor

@smk78 I guess there is the following question: is the feature extraction wrong, or was the extrapolation done wrong, introducing wobbles.

It might be good to have something that somehow quantifies any error introduced by extrapolation.

@lucas-wilkins lucas-wilkins linked a pull request Mar 13, 2023 that will close this issue
7 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Corfunc Perspective Concerns Correlation Function Perspective
Projects
None yet
2 participants