Changeset aed7c57 in sasview for park_integration/ParkFitting.py
- Timestamp:
- Mar 26, 2009 7:51:22 PM (15 years ago)
- 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:
- 24cab5d
- Parents:
- 1f57dfd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/ParkFitting.py
rf6a9248 raed7c57 69 69 parkmodel = item.get_model() 70 70 for p in parkmodel.parameterset: 71 if p._getname()in self.paramList and not p.iscomputed(): 72 p.status = 'fitted' # make it a fitted parameter 73 #iscomputed paramter with string inside 74 71 72 if p.status!= 'computed': 73 if p._getname()in item.pars: 74 75 p.status = 'fitted' # make it a fitted parameter 76 #iscomputed paramter with string inside 77 else: 78 p.status= 'fixed' 79 75 80 i+=1 76 81 Ldata=item.get_data() … … 107 112 fitter = FitMC(localfit=localfit, start_points=1) 108 113 if handler == None: 109 #print "no handler"110 114 handler= fitresult.ConsoleUpdate(improvement_delta=0.1) 111 #print "park handler", handler 112 115 113 116 114 117 result = fit.fit(self.problem,
Note: See TracChangeset
for help on using the changeset viewer.