Changeset 51f14603 in sasview for src/sans/fit


Ignore:
Timestamp:
Apr 3, 2014 11:37:53 AM (11 years ago)
Author:
Peter Parker
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:
2f2d9d0
Parents:
eea3ffa
Message:

Refs #202 - Fix Sphinx build errors (not including park-1.2.1/). Most warnings remain.

Location:
src/sans/fit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sans/fit/AbstractFitEngine.py

    r5777106 r51f14603  
    557557         
    558558        :param model: sans.models type  
    559         :param : is the key of the fitArrange dictionary where model is  
    560                 saved as a value 
     559        :param id: is the key of the fitArrange dictionary where model is saved as a value 
    561560        :param pars: the list of parameters to fit  
    562561        :param constraints: list of  
     
    566565            Example:   
    567566            we want to fit 2 model M1 and M2 both have parameters A and B. 
    568             constraints can be: 
    569              constraints = [(M1.A, M2.B+2), (M1.B= M2.A *5),...,] 
     567            constraints can be ``constraints = [(M1.A, M2.B+2), (M1.B= M2.A *5),...,]`` 
    570568             
    571569              
  • src/sans/fit/ParkFitting.py

    r5777106 r51f14603  
    315315    Set model parameter "M1"= model.name add {model.parameter.name:value}. 
    316316     
    317     :note: Set_param() if used must always preceded set_model() 
    318          for the fit to be performed. 
    319     engine.set_param( model,"M1", {'A':2,'B':4}) 
     317    ..note:: 
     318       Set_param() if used must always preceded set_model() for the fit to be performed. 
     319      ``engine.set_param( model,"M1", {'A':2,'B':4})`` 
    320320     
    321321    Add model with a dictionnary of FitArrangeList{} where Uid is a key 
     
    327327    chisqr1, out1, cov1=engine.fit({model.parameter.name:value},qmin,qmax) 
    328328     
    329     :note: {model.parameter.name:value} is ignored in fit function since  
     329    ..note:: 
     330        {model.parameter.name:value} is ignored in fit function since  
    330331        the user should make sure to call set_param himself. 
    331332         
Note: See TracChangeset for help on using the changeset viewer.