FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add method GetRwHistory to lsq by clemisch · Pull Request #107 · diffpy/pyobjcryst · GitHub

Repository navigation

Add method GetRwHistory to lsq - #107

Merged
vincefn merged 3 commits into
diffpy:mainfrom
clemisch:rw_history
Sep 24, 2026
Merged

vincefn merged 3 commits into
diffpy:mainfrom
clemisch:rw_history

Conversation

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.

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

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?

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

@sbillinge I bumped libobjcryst to 2026.3.0 and tests pass 🥳

vincefn merged commit 440fa7a into diffpy:main Sep 24, 2026
5 checks passed
clemisch deleted the rw_history branch September 25, 2026 07:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL