Skip to content

Expose PowderPatternDiffraction.X2XCorrPhase - #114

Open
clemisch wants to merge 4 commits into
diffpy:mainfrom
clemisch:x2xcorrphase-public
Open

Expose PowderPatternDiffraction.X2XCorrPhase#114
clemisch wants to merge 4 commits into
diffpy:mainfrom
clemisch:x2xcorrphase-public

Conversation

@clemisch

@clemisch clemisch commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

After vincefn/objcryst#73 which allows per-phase displacement, it's necessary to call per-phase peak position correction if we want to get reflection 2θ positions for a phase.
It's not sufficient to call PowderPattern.X2XCorr because it can't apply per-phase corrections and will give incorrect 2θ values.

For refinement, all this is handled behind the scenes, but we might want the 2θ positions for plotting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant