Changeset 32cd80c in sasview for fittingview/src/sans/perspectives
- Timestamp:
- Aug 26, 2011 2:59:30 PM (13 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:
- 5d2e4c1
- Parents:
- ad3fa1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
recf26e1 r32cd80c 249 249 # theory default: assume the beam 250 250 #center is located at the center of sqr detector 251 xmax = self.qmax_x252 xmin = - self.qmin_x253 ymax = self.qmax_x254 ymin = - self.qmin_x251 xmax = qmax 252 xmin = -qmax 253 ymax = qmax 254 ymin = -qmax 255 255 qstep = self.npts_x 256 256 x = numpy.linspace(start=xmin, stop=xmax, num=qstep, endpoint=True) … … 276 276 xstep = x_size/len(x_bins-1) 277 277 ystep = y_size/len(y_bins-1) 278 self.data.detector.append(Detector())278 279 279 self.data.source = Source() 280 self.data.data = numpy.ones(len( qx_data))280 self.data.data = numpy.ones(len(mask)) 281 281 self.data.err_data = numpy.ones(len(mask)) 282 282 self.data.qx_data = qx_data
Note: See TracChangeset
for help on using the changeset viewer.