Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Compute misc R-factors in scripting #130

Open
briantoby opened this issue Jan 17, 2025 · 1 comment
Open

Compute misc R-factors in scripting #130

briantoby opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
APS Bug or need identified/requested by APS user/staff enhancement New feature or request

Comments

@briantoby
Copy link
Collaborator

As you know, the fits for LaB6 are never as good as one might like, but
we run out of parameters in a pseudo-Voigt function. We get Rwp, and
Rexpected for the whole pattern, and Rwp-background. For this phase,
the Rwp and Rexpected are dominated by the huge number of points in the
pattern which are only background. Is it possible to generate an
Rexpected-background? We can argue about whether this is a meaningful
or valid number, but it would in this case be helpful as a measure of
the fit to the peaks, and also as a measure of the signal/noise of the
peaks only. I don’t know that RF or RF2 are quite right for this
purpose, as they don’t consider mis-fits to the shape, only to the
integrated area.

@briantoby briantoby added APS Bug or need identified/requested by APS user/staff enhancement New feature or request labels Jan 17, 2025
@briantoby briantoby self-assigned this Jan 17, 2025
@briantoby
Copy link
Collaborator Author

I think I can see the arguments for why this would be useful for you, but I would also respond that IMO GSAS-II already confuses novices by presenting too many different R-factors (several of which I find rather questionable). Also, R-expected is only meaningful from a statistical perspective and background subtraction breaks any statistical meaningfulness. Perhaps a way to provide this would be to code it in GSAS-II scriptable rather than put it into the GUI.

I am wondering if it might make more sense to compute Rwp, etc. for only points that are, say 2 sigma, from a peak position. That sort of partition of data is valid statistically. Would that serve a similar role for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APS Bug or need identified/requested by APS user/staff enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant