loop? maybe?

2009-04-10 Thread heidi taynton
Hey guys, Sorry for being such a noob with this stuff and the language is hard for me to read through with the online manuals... i can do math speak, and science speak... not so much programming/code speak... so when you say pickle... i think food Anyways, I have an array and I want t

writing array

2009-04-09 Thread heidi taynton
Hey guys, I'm trying to write a new array from the one i already have but here is the catch: I want an array where n=# of data points used in previous point (rounded down) in every spot, I want to take 1.1**n data points and then take the mean of the data points. (i know there is a n

numpy.where

2009-04-09 Thread 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 lookin