-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Model Editor needs to properly deal with form_volume function (Trac #885) #1834
Comments
Trac update at |
Trac update at
|
Trac update at
This code has now been reverted to not support any polydispersity so that at least an easy model will be created correctly for release 4.2. branch 885 remains to work on fixing the editor to use polydispersity correctly but the ticket is moving to 4.3
|
Trac update at The problems were almost surely due to the problems documented in ticket #1183 which should be fixed in 4.2.0. This branch can then be revived and merged. |
Trac update at |
This should not have been moved to sasmodels as it is a GUI thing. I'm also not sure it is something we should consider fixing and assuming that it doesn't apply to 5.x (Though we should check that before closing this completely. |
5.x still requires form_volume with all the polydisperse parameters passed through (regardless of whether they actually contribute to the volume), so I think the new model editor should still be restricted to monodisperse - leaving users to manually edit the code if they later want polydispersity. |
Having now worked through using this as a demonstration in training, I would argue we should leave as is with perhaps some additions later to make it even more user friendly and hard to mess up. The current editor does behave differently if you include polydisperse parameters:
volume = polyparam1 * polyparam2 * polyparam3
return volume |
The 'New Model Editor' allows you to specify parameters which are polydisperse and which are then marked as 'volume' parameters in the resulting code.
However, because form_volume still returns 1.0 by default, the weighting of the polydispersity is probably wrong.
This GUI should require the user to define form_volume if polydisperse parameters are requested.
Migrated from http://trac.sasview.org/ticket/885
The text was updated successfully, but these errors were encountered: