Skip to content

Constraining parameters across contrasts is not discoverable; already-shared parameters silently absent from the tie table #395

Open

Description

@rozyczko

Reported in user testing of v1.6.1 (multiple-contrasts session, 23/11/2026).

The testers could not work out how to constrain parameters across contrasts in Film in three water contrasts. The goal was to keep the SiO2 thickness and roughness common to all three contrasts.

What they reported:

  • They couldn't find where constraints across contrasts are set up. Sample → Advanced controls looked like the most likely place, but it wasn't clear.
  • What they tried "worked in a counterintuitive way".
  • They unticked Fit for the thickness parameters in Analysis, expecting them to then show up in the Link contrasts → Parameters to tie table. They didn't: the table showed only 1 of 5 rows, all material SLDs plus one subphase roughness.

What is actually going on
In this example, the three contrasts already share the oxide and film layers (built with Add contrast). The thickness and roughness are each a single parameter, marked ⇄, so they're already constrained across contrasts. That's why they are not offered in the tie table: they only appear under Show the parameters that cannot be tied. Nothing in the UI says any of this, and the Fit checkbox has nothing to do with tying.

Suggestions

  • In the Link contrasts group, say that parameters already shared between the selected models are not listed, and how many there are (e.g. "4 parameters are already shared by these models").
  • In the Analysis table, make shared rows self-explanatory (see Add tooltips to symbols in tables reflectometry-lib#464 for the ⇄ tooltip, and the parameter-naming bug).
  • Give the Sample → Advanced controls groups (Constraints / Link contrasts) a short intro line on what each is for, and when to use Add contrast instead.
  • Point to the manual section (see the docs issue).

Activity

  1. added
    [scope] enhancement
    [priority] high
    on Nov 23, 2026
  2. rozyczko commented on Nov 23, 2026

    @rozyczko
    MemberAuthor

    Related: #394 (shared layer parameters are mislabelled, which made this harder to follow) and #396 (manual section on multi-contrast setup).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [priority] high[scope] enhancementuser-experience-enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions