- Timestamp:
- Feb 3, 2011 12:53:08 PM (14 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:
- 45ffa5e
- Parents:
- ec489f5
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r3f6508f r13913ec 1063 1063 self.set_npts2fit() 1064 1064 else: 1065 index_data = ((self.qmin <= self.data.x)& \1066 (self.data.x <= self.qmax ))1067 #self.Npts_fit.SetValue(str(len(self.data.x[index_data])))1068 self.set_npts2fit() 1065 index_data = ((self.qmin_x <= self.data.x)& \ 1066 (self.data.x <= self.qmax_x)) 1067 self.Npts_fit.SetValue(str(len(self.data.x[index_data]))) 1068 1069 1069 1070 1070 else: -
sansview/perspectives/fitting/fitting.py
r6886000 r13913ec 1383 1383 return 1384 1384 x = data.x 1385 if qmin == DEFAULT_QMIN : 1386 qmin = min(data.x) 1387 if qmax == DEFAULT_QMAX: 1388 qmax = max(data.x) 1385 1386 if qmin == None : 1387 qmin == DEFAULT_QMIN 1388 1389 if qmax == None: 1390 qmax == DEFAULT_QMAX 1391 1389 1392 if not enable1D: 1390 1393 return
Note: See TracChangeset
for help on using the changeset viewer.