Changeset 5f3164c in sasview for calculatorview/src/sans/perspectives
- Timestamp:
- Sep 19, 2011 4:11:40 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:
- 7400883
- Parents:
- 8fe5a50
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/resolution_calculator_panel.py
r1c153e9 r5f3164c 739 739 qy_min = [] 740 740 qy_max = [] 741 741 # possible max qrange 742 self.resolution.qxmin_limit = 0 743 self.resolution.qxmax_limit = 0 744 self.resolution.qymin_limit = 0 745 self.resolution.qymax_limit = 0 746 # q min and max of the detector 742 747 try: 743 748 # Get all the values at set to compute … … 912 917 detector_qy_min = self.resolution.qymin_limit 913 918 detector_qy_max = self.resolution.qymax_limit 914 919 915 920 # Draw zero axis lines 916 921 if qy_min < 0 and qy_max >= 0: … … 924 929 y_min = fabs(detector_qy_min - qy_min) / (qy_max - qy_min) 925 930 y_max = fabs(detector_qy_max - qy_min) / (qy_max - qy_min) 926 931 927 932 # Draw Detector outline 928 933 if detector_qy_min >= qy_min:
Note: See TracChangeset
for help on using the changeset viewer.