Changeset 435 for trunk

Show
Ignore:
Timestamp:
09/15/09 13:20:54 (3 years ago)
Author:
emuller
Message:

numpy.histogram is changing ... add new=False to keeps things "old"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/stgen/inh_gamma_psth.py

    r405 r435  
    2929for i in xrange(10000): 
    3030    st = stg.inh_gamma_generator(a,b,t,1000.0,array=True) 
    31     psth+=numpy.histogram(st,t)[0] 
     31    psth+=numpy.histogram(st,t,new=False)[0] 
    3232 
    3333# normalize