reflectometry / refl1d

1-D reflectometry fitting
https://refl1d.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
18 stars 24 forks source link

show dependent parameters in parameter table #81

Open pkienzle opened 5 years ago

pkienzle commented 5 years ago

Defining a parameter such as s = Parameter(name='scale', value=1) and assigning it to a model such as layer2.thickness = scale*layer1.thickness, then the scale parameter does not show up in the Parameters tab and so you can not turn it on/off or select its range.

purnimab commented 2 years ago

Seconding this feature request :)

bmaranville commented 2 years ago

Is this a bumps issue then?

bmaranville commented 2 years ago

I think this was fixed in https://github.com/bumps/bumps/commit/39a005945eba49a5946a28cfa33f923adc9db1ff - but only in the serializable branch that has yet to be merged.

bmaranville commented 2 years ago

No - I could be wrong - this maybe is supposed to be covered by the Operator class, which should list all dependent parameters. Will have to look into it.