numpy.where
heidi taynton
heidihannah at mac.com
Wed Apr 8 14:56:12 EDT 2009
Hi,
I'm fairly new to programming and am having a probably cutting my arrays. I have two different 1d arrays, one of time, and the second energy. I want to cut both arrays of time min<=time<=max . I've created a 2d array with [time,energy] and I believe numpy.where is what I am looking for, but haven't been able to get the conditions in right for it to work.
all help appreciated
hi
More information about the Python-list
mailing list