numpy.where

H

heidi taynton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,293
Messages
2,571,501
Members
48,189
Latest member
StaciLgf76

Latest Threads

Top