[Numpy-discussion] NumPy-Discussion Digest, Vol 38, Issue 52

Christopher Barker Chris.Barker@noaa....
Mon Nov 16 11:35:53 CST 2009


oops,

I meant to include my code with that last note. Here it is.

accumulator.py: is my implementation.

easy_scale.py: is Jake's suggested implementation.

profile_accumulator.py: contains some test functions that can be run 
with ipython's "timeit"


test_accumulator.py: is test code that can be run with nosetests.

Any comments, suggestions, etc. welcome.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accumulator.py
Type: application/x-python
Size: 4112 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091116/4b9c2a2f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: easy_scale.py
Type: application/x-python
Size: 542 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091116/4b9c2a2f/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile_accumulator.py
Type: application/x-python
Size: 1899 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091116/4b9c2a2f/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_accumulator.py
Type: application/x-python
Size: 5154 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091116/4b9c2a2f/attachment-0003.bin 


More information about the NumPy-Discussion mailing list