Changeset fe886ee in sasview for park_integration


Ignore:
Timestamp:
Apr 2, 2009 5:22:42 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
0f5fe6b
Parents:
87a43fe
Message:

fit between parameters range

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/ParkFitting.py

    raed7c57 rfe886ee  
    6969            parkmodel = item.get_model() 
    7070            for p in parkmodel.parameterset: 
    71                  
     71                ## does not allow status change for constraint parameters 
    7272                if p.status!= 'computed': 
    7373                    if p._getname()in item.pars: 
    74                          
    75                         p.status = 'fitted' # make it a fitted parameter 
    76                                 #iscomputed  paramter with string inside 
     74                        ## make parameters selected for fit will be between boundaries 
     75                        p.set( p.range ) 
     76                                 
    7777                    else: 
    7878                        p.status= 'fixed' 
Note: See TracChangeset for help on using the changeset viewer.