Skip to content

Add method GetRwHistory to lsq - #107

Open
clemisch wants to merge 2 commits into
diffpy:mainfrom
clemisch:rw_history
Open

Add method GetRwHistory to lsq#107
clemisch wants to merge 2 commits into
diffpy:mainfrom
clemisch:rw_history

Conversation

@clemisch

Copy link
Copy Markdown
Contributor

Exposes new Rw history in LSQ object to Python via lsq.GetRwHistory().

Requires vincefn/objcryst#90 .

Rw history is stored in internal vector over one call of lsq.Refine(). It's in "fractional" units ∈ [0, 1], not in percent. That's just because objcryst seems to handle mostly fractional Rw internally. We could change the user-facing value to Rwp.

@sbillinge

Copy link
Copy Markdown
Contributor

LGTM Can merge when it is passing tests. btw @clemisch it has picked up a conflict along the way.

clemens.schmid@esrf.fr and others added 2 commits August 26, 2026 10:25
turns internal std::vector<REAL> into Python list
@clemisch

Copy link
Copy Markdown
Contributor Author

Thanks Simon, I fixed the conflict.

I think the tests will work only after objcryst has a new release?

@sbillinge

Copy link
Copy Markdown
Contributor

@clemisch please ping me to merge this when objcryst goes out and this passes.

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.

2 participants