Changeset d9629c53 in sasview
- Timestamp:
- Jan 20, 2009 11:24:36 AM (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:
- f55af70
- Parents:
- d1241f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/manipulations.py
r4853c04 rd9629c53 844 844 continue 845 845 #In case of one ROI (major only)(i.e.,for 'q' and 'phi') 846 elif run.lower()=='phi':847 if q_value<qmin or q_value>qmax:848 continue849 846 else: 850 847 if (self.phi_max>=self.phi_min): … … 854 851 if (phi_value<self.phi_min and phi_value>self.phi_max): 855 852 continue 853 if q_value<qmin or q_value>qmax: 854 continue 855 856 856 if run.lower()=='phi': 857 857 if temp1<phi_value: 858 858 temp1=phi_value 859 859 if temp0>phi_value: 860 temp0=phi_value 860 temp0=phi_value 861 861 862 elif temp<q_value: 862 863 temp=q_value 864 863 865 if run.lower()=='phi': 864 866 self.phi_max=temp1 … … 939 941 if (phi_value<self.phi_min or phi_value>self.phi_max): 940 942 continue 943 941 944 else: 942 945 if (phi_value<self.phi_min and phi_value>self.phi_max): … … 1042 1045 1043 1046 1044 r = SectorQ(r_min=.000001, r_max=.01, phi_min=0.0, phi_max= math.pi/2.0)1047 r = SectorQ(r_min=.000001, r_max=.01, phi_min=0.0, phi_max=2*math.pi) 1045 1048 o = r(d) 1046 1049 1047 s = Ring(r_min=.00 5, r_max=.01)1050 s = Ring(r_min=.000001, r_max=.01) 1048 1051 p = s(d) 1049 1052
Note: See TracChangeset
for help on using the changeset viewer.