Changeset fcd8887d in sasview for sansview/perspectives/fitting
- Timestamp:
- Jan 26, 2010 5:37:49 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:
- 25e3fc9
- Parents:
- ffa69b6
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
rffa69b6 rfcd8887d 1343 1343 1344 1344 self.structurebox = wx.ComboBox(self, -1,style=wx.CB_READONLY) 1345 1346 self.initialize_combox() 1347 1345 1348 wx.EVT_COMBOBOX(self.formfactorbox,-1, self._on_select_model) 1346 1349 wx.EVT_COMBOBOX(self.structurebox,-1, self._on_select_model) 1347 1350 1348 1351 1349 self.initialize_combox()1350 1351 1352 ## check model type to show sizer 1352 1353 if self.model !=None: -
sansview/perspectives/fitting/fitpage.py
rffa69b6 rfcd8887d 654 654 ## error occured on chisqr computation 655 655 pass 656 if self.data is not None :656 if self.data is not None and self.data.__class__.__name__ !="Data2D": 657 657 ## set smearing value whether or not the data contain the smearing info 658 658 self.manager.set_smearer(smearer=temp_smear, qmin= float(self.qmin_x), 659 659 qmax= float(self.qmax_x)) 660 660 661 evt = ModelEventbox(model=self.model) 661 662 wx.PostEvent(self.event_owner, evt)
Note: See TracChangeset
for help on using the changeset viewer.