You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Summary attributes a shared parameter to its first model only #435
Problem. In the summary's parameter table, each parameter is listed once, and its display name starts with the name of the first model that reaches it. A parameter shared by identity, for example the film thickness of an assembly shared by three contrasts, therefore appears as <model 0> <layer> thickness. That suggests it belongs to model 0 only, when it is the one value fitted for all three. Design §6 asks the UI to show every owner of a shared parameter, and the app's parameter table does that (the ⇄ badge with the owner list). The report does not.
Where:src/easyreflectometry/summary/summary.py, _named_parameters: the seen set and model_name from the first model in which the walk meets the object.
Proposed.
Name a shared parameter by all of its owners, e.g. D2O, H2O, CMSi: Film thickness.
Or add a column listing the models, using Project.parameter_models(parameter), which already returns the owner indices.
Activity
fixing summary using only 1st model #435 (#446)
433 summary figures (#447)
Release 2.0.0 (#454)