Replies: 2 comments 1 reply
|
This setter aims to make it so that the two roughnesses are the same. Can you test, using the https://github.com/easyScience/EasyReflectometryLib/blob/main/docs/monolayer.ipynb notebook, what happens if the roughness is allowed to vary and this is set to |
1 reply
|
The code is correct. I just had to understand how a constraint between an dependent and independent variable is set and how it functions. When set the constraint "pass" the value when the independent variable is changed whereas it is ignored when the value is set for the dependent variable. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/easyScience/EasyReflectometryLib/blob/71fbb174ea1cf1396172aaaa51f9feb345af27a1/EasyReflectometry/sample/items/surfactant_layer.py#L152
It seems wrong that the we are only manipulating layer 0.
I would assume that it should have been layer 1 in the assignment.
@arm61 are you able to clarify
All reactions