Opened 4 years ago

Last modified 5 months ago

#366 new enhancement

Allow for re-parameterisation of models

Reported by: Karen Edler Owned by:
Priority: trivial Milestone: SasView 5.1.0
Component: SasView Keywords:
Cc: Work Package: SasModels Infrastructure

Description

Karen has requested the ability to easily re-parameterise models. i.e. generate a new parameter set for a model where there are new parameters and some are some function of the other parameters.

e.g.

new parameter: solvent_fraction
new parameter: component_sld
old parameter: solvent_sld
old parameter: sld = (1-solvent_fraction)*component_sld+solvent_fraction*solvent_sld

Thus the new parameter set would not have sld as a parameter, but have solvent_fraction and component_ld instead.

This should probably be implemented in a similar way to the 'New Custom Model' page.

Change History (4)

comment:1 Changed 4 years ago by butler

  • Milestone changed from SasView Next Release +1 to SasView 4.0.0

comment:2 Changed 3 years ago by butler

  • Milestone changed from SasView 4.0.0 to SasView Next Release +1

comment:3 Changed 21 months ago by butler

  • Milestone changed from SasView Next Release +1 to SasView 5.1.0
  • Priority changed from minor to trivial

With the new model interface this may be less of an issue since you can do the same thing relatively easily by editing the model: change the python parameter list then at the top of the calculation code add the calculations needed to obtain the old parameters from the new parameters passed — the rest should then just work. Thus this may maybe should become moot? At least am going t lower to lowest possible priority in the meantime.

Note there is a related ticket regarding constraints #895

comment:4 Changed 5 months ago by butler

  • Work Package changed from SasModels Redesign to SasModels Infrastructure
Note: See TracTickets for help on using tickets.