Changeset 2d8018f in sasview for sanscalculator
- Timestamp:
- Mar 14, 2013 10:20:13 AM (12 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:
- 98b12205
- Parents:
- b4fdf0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sanscalculator/src/sans/calculator/sans_gen.py
r9624cda r2d8018f 172 172 raise ValueError, msg 173 173 i_out = numpy.zeros_like(x[0]) 174 #import time175 #s = time.time()176 174 # 1D I is found at y =0 in the 2D pattern 177 175 out = self._gen(x[0], [], i_out ) 178 #print "i_out_time", time.time() - s179 176 return out 180 177 else: … … 191 188 if x.__class__.__name__ == 'list': 192 189 i_out = numpy.zeros_like(x[0]) 193 #import time194 #s = time.time()195 190 out = self._gen(x[0], x[1], i_out) 196 #print "i_out_time", time.time() - s197 191 return out 198 192 else:
Note: See TracChangeset
for help on using the changeset viewer.