Ignore:
Timestamp:
Mar 14, 2013 10:20:13 AM (11 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

better time estimation for Debye computation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sanscalculator/src/sans/calculator/sans_gen.py

    r9624cda r2d8018f  
    172172                raise ValueError, msg 
    173173            i_out = numpy.zeros_like(x[0]) 
    174             #import time 
    175             #s = time.time() 
    176174            # 1D I is found at y =0 in the 2D pattern 
    177175            out = self._gen(x[0], [], i_out ) 
    178             #print "i_out_time", time.time() - s 
    179176            return out 
    180177        else: 
     
    191188        if x.__class__.__name__ == 'list': 
    192189            i_out = numpy.zeros_like(x[0]) 
    193             #import time 
    194             #s = time.time() 
    195190            out = self._gen(x[0], x[1], i_out) 
    196             #print "i_out_time", time.time() - s 
    197191            return out 
    198192        else: 
Note: See TracChangeset for help on using the changeset viewer.