Changes between Initial Version and Version 1 of DevNotes/Projects/McSASIntegration


Ignore:
Timestamp:
Sep 4, 2018 8:13:42 AM (6 years ago)
Author:
butler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevNotes/Projects/McSASIntegration

    v1 v1  
     1There is a desire to incorporate McSAS into !SasView as another optimization tool for the users without having to install and run a separate package.  From the development and maintenance perspective this should also simplify keeping all the features working and updated in a consistent manner. 
     2 
     3McSAS fits data using an MC algorithm to extract a parameter distribution.  For example for a system of spheres, it will return a distribution of sphere sizes with minimal a priori information.  As such it most resembles an optimizer in !SasView which optimized the center and polydispersity of a parameter. The integration thus probably should involve changing the optimization framework in !SasView to allow a different optimization engine per !FitPage and provide McSAS as an optimizer.  Care needs to be taken with how the parameters are presented in this case as McSAS always optimizes scale and background and otherwise always fits a polydispersity -- so there may need to be a switching of GUI for parameter set ups.  Finally the output needs to be fed back so that a fit can continue using a different optimizer but maintaining the McSAS distribution output as a fixed array polydispersity on that parameter.  Of course the primary output of McSAS would be the plots of the distribution of the parameters which actually should use the underlying infrastructure created for ticket #17. 
     4 
     5The approach  
     61. Get McSAS running as an optimizer within !SasView 
     72.