Changeset 63d314b in sasview for src/sas/perspectives/fitting


Ignore:
Timestamp:
May 27, 2015 4:15:10 AM (10 years ago)
Author:
smk78
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b5846a10
Parents:
9776c82
Message:

Work in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/fitting/media/fitting_help.rst

    r8570246 r63d314b  
    314314*the Data Explorer is checked (see the section* :ref:`Loading_data` *).* 
    315315 
     316This mode fits one data set. 
     317 
    316318When data is sent to the fitting perspective it is plotted in a graph window as 
    317319markers. 
     
    359361--------------------- 
    360362 
    361 This fitting option enables to set a number of the constraints between the  
    362 parameters of fitting(s). It requires one or more FitPages with a data and a  
    363 model set for the fitting, and performs multiple fittings given by the  
    364 FitPage(s). The Complex (ParkMC) FitEngine will be used automatically. 
    365  
    366 Simultaneous Fit without Constraint 
     363*NB: Before proceeding, ensure that the Single Mode radio button at the bottom of* 
     364*the Data Explorer is checked (see the section* :ref:`Loading_data` *).* 
     365 
     366This mode is an extension of the :ref:`Single Fit Mode` that fits two or more data  
     367sets *to the same model* simultaneously. If necessary it is possible to constrain  
     368fit parameters between data sets (eg, to fix a background level, or radius, etc). 
     369 
     370If the data to be fit are in multiple files, load each file, select it in the  
     371*Data Explorer*, and *Send To Fitting*. 
     372 
     373If multiple data sets are in one file, load that file, *Unselect All Data*, then  
     374select each dataset one at a time and Send To Fitting. 
     375 
     376The result should be that for  
     377n 
     378datsets you have 2 
     379n 
     380graphs ( 
     381n 
     382of the data & model fit and  
     383n 
     384residuals plots). 
     385 
     386IMPORTANT!  
     387If you need to create a n 
     388ew model with the new model wizard, or use a  
     389model which is the sum of two existing models, go Fitting  
     390 
     391Edit Custom Model  
     392before 
     393sending the data to the fitting engine. 
     394The model will be available under  
     395‘ 
     396Customised  
     397Models 
     398’ 
     399on  
     400the FitPage. NB: the name will likely be abbreviated; eg,  
     401‘ 
     402Peak  
     403Gauss 
     404Model + Absolute Power Law Model 
     405’ 
     406will appear as  
     407‘ 
     408PGM + APL 
     409’ 
     410. 
     4113. 
     412Go to each Fit 
     413Page in turn 
     414and: 
     415 
     416Select the required model. 
     417 
     418Unselect all the model par 
     419ameters. 
     420 
     421Enter some starting guesses for the parameters (it may be helpful to remove the  
     422residuals plots for clarity; go Graph  
     423 
     424Show and untick graph windows as required). 
     425 
     426Enter any parameter limits (recommended). 
     427 
     428Select which parameters will refine (sele 
     429cting all is probably a bad idea...). 
     4304. 
     431Select Fitting  
     432 
     433Simultaneous Fit (this also selects the Complex Fit Engine). 
     4345. 
     435Go to the Simultaneous Fit page 
     436and: 
     437 
     438Select which datasets are to be fitted (which will probably be all of them or you wouldn’t  
     439have  
     440loaded them in!). 
     441 
     442It is possible to tie parameters between datasets with constraints; eg, make the  
     443Background in FitPage1 the same as the Background in FitPage2, and so on. To do this,  
     444answer ‘yes’ to Add Constraints in the Fit Constraints box. 
     445 
     446But note th 
     447at SANSView only lets you constrain parameters that are refining. 
     4486. 
     449Click Fit 
     450 
     451 
     452 
     453Simultaneous Fits without Constraints 
     454^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
    367455 
    368456Assuming some FitPages are already set up, check the checkboxes of the  
     
    374462FitPage to recalculate. 
    375463 
    376 Simultaneous Fit with Constraint 
     464Simultaneous Fits with Constraints 
     465^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
    377466 
    378467Enter constraint in the text control next to *constraint fit*  button.  
     
    391480Batch Fit Mode 
    392481-------------- 
     482 
     483*NB: Before proceeding, ensure that the Batch Mode radio button at the bottom of* 
     484*the Data Explorer is checked (see the section* :ref:`Loading_data` *).* 
    393485 
    394486Batch Fit 
Note: See TracChangeset for help on using the changeset viewer.