Opened 6 years ago

Last modified 6 years ago

#1241 new enhancement

Support fits to models with data operations

Reported by: pkienzle Owned by:
Priority: major Milestone: SasView 5.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

It would be useful in some circumstances for the fitting engine to have access to data operation parameters, so that examples such as the following can be fit:

S(Q; p) = scale * (Ia(Q)-BKGa)/ (Ib(Q)-BKGb) + Bkg 

with parameters p from the structure factor S as well as scale BGKa, BKGb and Bkg.

See the discussion on ticket #1157 for more details.

Change History (1)

comment:1 Changed 6 years ago by pkienzle

This fit requires two datasets and one model, which sasview does not support. You could change the data class so that it has fittable parameters, and have these parameters created automatically as part of the data operations menu.

Need to update the gui so that the fit panel presents these parameters to the user along with the model parameters.

Need to update the saved project file so that the original data sets and the operations are stored.

Similar work needs to be done for multiple scattering (#1067).

Note: See TracTickets for help on using tickets.