Skip to content

Add lsq.GetVarianceCovarianceMap() - #109

Merged
vincefn merged 3 commits into
diffpy:mainfrom
clemisch:get_variance_covariance_map
Aug 25, 2026
Merged

Add lsq.GetVarianceCovarianceMap()#109
vincefn merged 3 commits into
diffpy:mainfrom
clemisch:get_variance_covariance_map

Conversation

@clemisch

@clemisch clemisch commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Add/expose lsq.GetVarianceCovarianceMap() to get dict of covariances between refined parameters. Useful if we want to do error propagation for values calculated from refined parameters, like QPA weight-percent or unit cell volume.

Currently the dict keys are tuples of parameter names, which will look like ("Scale_~", "a~~").
They are constructed by calling par->GetName() on the paired parameters.
After vincefn/objcryst#78 we should change this to par->GetParNameHierarchy() to still have exclusive names?

@vincefn
vincefn merged commit 9c77752 into diffpy:main Aug 25, 2026
5 checks passed
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