Changeset 2e95da4 in sasview for fittingview/src
- Timestamp:
- Aug 26, 2011 3:54:03 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:
- dcbd4e2c
- Parents:
- d1c8036
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
r6e4c9fe r2e95da4 225 225 """ 226 226 self.data = Data2D() 227 qmax = self.qmax_x 227 qmax = self.qmax_x / math.sqrt(2) 228 228 self.data.xaxis('\\rm{Q_{x}}', 'A^{-1}') 229 229 self.data.yaxis('\\rm{Q_{y}}', 'A^{-1}') … … 247 247 # theory default: assume the beam 248 248 #center is located at the center of sqr detector 249 xmax = qmax 249 xmax = qmax 250 250 xmin = -qmax 251 251 ymax = qmax 252 252 ymin = -qmax 253 253 qstep = self.npts_x 254 254 255 x = numpy.linspace(start=xmin, stop=xmax, num=qstep, endpoint=True) 255 256 y = numpy.linspace(start=ymin, stop=ymax, num=qstep, endpoint=True) … … 289 290 self.data.ymin = ymin 290 291 self.data.ymax = ymax 291 292 292 293 def on_set_focus(self, event): 293 294 """
Note: See TracChangeset
for help on using the changeset viewer.