Changeset 1b0707e1 in sasview for sansrealspace
- Timestamp:
- Sep 27, 2007 2:52:46 PM (17 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:
- f98961f
- Parents:
- 02cb31a
- Location:
- sansrealspace/src/realspace/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansrealspace/src/realspace/test/early_test.py
r02cb31a r1b0707e1 233 233 234 234 ana = ana.runXY([0.1, 0.01]) 235 sim = m ath.pi/2*model.getIq2D(0.1, 0.01)235 sim = model.getIq2D(0.1, 0.01) 236 236 print model.npts 237 237 print ana, sim, sim/ana, ana/sim -
sansrealspace/src/realspace/test/utest_oriented.py
r02cb31a r1b0707e1 96 96 97 97 ana_val = self.ana.runXY([0.1, 0.2]) 98 sim_val = math.pi/2 *self.model.getIq2D(0.1, 0.2)98 sim_val = self.model.getIq2D(0.1, 0.2) 99 99 #print ana_val, sim_val, sim_val/ana_val 100 100 … … 109 109 110 110 ana_val = self.ana.runXY([0.1, 0.2]) 111 sim_val = math.pi/2 *self.model.getIq2D(0.1, 0.2)111 sim_val = self.model.getIq2D(0.1, 0.2) 112 112 #print ana_val, sim_val, sim_val/ana_val 113 113 … … 122 122 123 123 ana_val = self.ana.runXY([0.1, 0.2]) 124 sim_val = math.pi/2 *self.model.getIq2D(0.1, 0.2)124 sim_val = self.model.getIq2D(0.1, 0.2) 125 125 #print ana_val, sim_val, sim_val/ana_val 126 126 … … 165 165 166 166 ana_val = self.ana.runXY([0.1, 0.2]) 167 sim_val = math.pi/2 *self.canvas.getIq2D(0.1, 0.2)167 sim_val = self.canvas.getIq2D(0.1, 0.2) 168 168 #print ana_val, sim_val, sim_val/ana_val 169 169 … … 178 178 179 179 ana_val = self.ana.runXY([0.1, 0.2]) 180 sim_val = math.pi/2 *self.canvas.getIq2D(0.1, 0.2)180 sim_val = self.canvas.getIq2D(0.1, 0.2) 181 181 #print ana_val, sim_val, sim_val/ana_val 182 182 … … 191 191 192 192 ana_val = self.ana.runXY([0.05, 0.15]) 193 sim_val = math.pi/2 *self.canvas.getIq2D(0.05, 0.15)193 sim_val = self.canvas.getIq2D(0.05, 0.15) 194 194 #print ana_val, sim_val, sim_val/ana_val 195 195
Note: See TracChangeset
for help on using the changeset viewer.