Changeset 37d9521 in sasview for park_integration
- Timestamp:
- Aug 5, 2008 8:28:24 AM (16 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:
- 99d1af6
- Parents:
- 43723aa
- Location:
- park_integration
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/AbstractFitEngine.py
r202f93a r37d9521 46 46 47 47 """ 48 print "fitting parmater",pars 49 temp=[] 48 50 if pars !={}: 49 51 self.parameters=[] … … 56 58 param = Parameter(model, key, value) 57 59 self.parameters.append(param) 58 self.paramList.append(key) 59 60 temp.append(key) 61 self.paramList.append(temp) 62 print "self.paramList2", self.paramList 60 63 #A fitArrange is already created but contains dList only at Uid 61 64 if self.fitArrangeList.has_key(Uid): -
park_integration/ParkFitting.py
r6b126e8 r37d9521 142 142 self.fitArrangeList={} 143 143 144 144 145 def createProblem(self): 145 146 """ … … 151 152 mylist=[] 152 153 listmodel=[] 153 154 i=0 154 155 for k,value in self.fitArrangeList.iteritems(): 155 156 sansmodel=value.get_model() … … 159 160 for p in parkmodel.parameterset: 160 161 #self.param_list.append(p._getname()) 161 if p.isfixed(): 162 #if p.isfixed() and p._getname()in self.paramList: 162 #if p.isfixed(): 163 #print 'parameters',p.name 164 #print "self.paramList",self.paramList 165 if p.isfixed() and p._getname()in self.paramList: 163 166 p.set([-numpy.inf,numpy.inf]) 164 167 i+=1 165 168 Ldata=value.get_data() 166 169 x,y,dy=self._concatenateData(Ldata)
Note: See TracChangeset
for help on using the changeset viewer.