Changeset b2c6d23 in sasview
- Timestamp:
- Jan 21, 2009 12:02:37 PM (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:
- 2fa4655
- Parents:
- fbd0bece
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r3dc83be rb2c6d23 710 710 pass 711 711 712 def complete(self, output, elapsed, model, qmin, qmax ):712 def complete(self, output, elapsed, model, qmin, qmax,qstep=DEFAULT_NPTS): 713 713 714 714 wx.PostEvent(self.parent, StatusEvent(status="Calc \ … … 725 725 theory.detector.append(detector) 726 726 727 theory.detector[0].pixel_size.x= 5.0 728 theory.detector[0].pixel_size.y= 5.0 727 theory.detector[0].pixel_size.x= qmax/(qstep/2-1)#5.0 728 theory.detector[0].pixel_size.y= qmax/(qstep/2-1)#5.0 729 theory.detector[0].beam_center.x= qmax 730 theory.detector[0].beam_center.y= qmax 731 theory.detector[0].distance= 1e+12#13705.0 729 732 theory.source= Source() 730 theory.source.wavelength= 8.4 731 theory.detector[0].beam_center.x= 0 732 theory.detector[0].beam_center.y= 0 733 theory.detector[0].distance= 13705.0 733 theory.source.wavelength= 2*math.pi/1e+12#8.4 734 734 735 735 theory.name= model.name … … 740 740 theory.ymin= -qmax 741 741 theory.ymax= qmax 742 742 743 print "model draw comptele xmax",theory.xmax 743 744 wx.PostEvent(self.parent, NewPlotEvent(plot=theory, … … 768 769 qmin=qmin, 769 770 qmax=qmax, 771 qstep=qstep, 770 772 completefn=self.complete, 771 773 updatefn=None)
Note: See TracChangeset
for help on using the changeset viewer.