For each entry a default can be specified, which is visible in the details box (see 3.2.3). A button allows to apply the default to the current entry.
This dialog is created by running python dialog.py from inside the SciParam/UI directory:
This dialog is created by running python notebook.py from inside the SciParam/UI directory:
A box will show additional details for the currently selected parameter. Here you see the parameter ``Volume'' with a long description ``Volume of used samples''. It only allows float values greater or equal zero up to infinity.
There was no distribution active, but now the user selected ``uniform'', therefore a new dialog shows up which asks for the maximum value.
The user already noted a comment to the value he's typing now, so nobody should wonder where it came from.
Using the ``Apply Default'' button, you can also set this value to a default value, which would be 2;20/uniform in this case. This long format of ``value;distribution parameter/distribution type'' can be used in the input field, too, to save the user from putting his hands away from the keyboard to the mouse.
The small cross indicates that this is a required parameter:
If you enter a value which is theoretically possible, but usually wrong (like an atomic number far higher than any known chemical element's number), the input field changes its color to yellow as soon as you leave the input field.
If you try to save this value using the ``OK'' button or switch to another notebook page, a warning dialog asks if you really want to use this value. The input field will stay yellow to warn you, even if you confirm this value, but the warning dialog will only appear again if you change the value.
If you enter a value which is outside the valid range (like less than -273.15°C for a temperature), the input field changes its color to red as soon as you leave the input field.
If you try to save this value using the ``OK'' button or switch to another notebook page, an error dialog forces you to either enter a correct value or discard changes using the ``Cancel'' button.
When choosing a distribution type, a small dialog asks for additional parameters like standard deviation or maximum value. Illegal values for these parameters will be rejected:
If you have a short list of choices, you can select one of them using radiobuttons. Choices include questions like Yes/No, or selecting one of few values like 3/5/7 meters.
If you have a long list of choices, selecting one of them is done in a different way. Otherwise they might not fit inside the input field.
Parameters that belong together can be grouped.
Thomas Arendsen Hein <firstname.lastname@example.org>