Simple as that...
Thanks!
-Original Message-
From: numpy-discussion-boun...@scipy.org
[mailto:numpy-discussion-boun...@scipy.org]
On Behalf Of Geordie McBain
Convert days to np.array, then you can index it with your indexmin:
days = [10, 20, 31, 41, 51, 59, 69, 79, 90, 100]
mydays
2010/8/12 Pinner, Luke :
> Apologies if this has been asked many times before, but I'm having
> trouble even coming up with the right terms to search on.
>
> I have an x,y,date stack of satellite images from which I need to know
> on what date the max and min values occur. I can calculate the index
Apologies if this has been asked many times before, but I'm having
trouble even coming up with the right terms to search on.
I have an x,y,date stack of satellite images from which I need to know
on what date the max and min values occur. I can calculate the index at
which the min/max values occur
On Wed, Aug 11, 2010 at 8:00 PM, Geordie McBain wrote:
> 2010/8/12 Renato Fabbri :
>> Dear All,
>>
>> help appreciated, thanks in advance.
>>
>> how do you fit a pdf you have with a given pdf (say gamma).
>>
>> with the file attached, you can go like:
>>
>> a=open("AC-010_ED-1m37F100P0.txt","rb")
2010/8/12 Renato Fabbri :
> Dear All,
>
> help appreciated, thanks in advance.
>
> how do you fit a pdf you have with a given pdf (say gamma).
>
> with the file attached, you can go like:
>
> a=open("AC-010_ED-1m37F100P0.txt","rb")
> aa=a.read()
> aaa=aa[1:-1].split(",")
> data=[int(i) for i in aaa
Hello,
I am an eager for numpy datetime support, but I have not heard about it
recently. Last I heard it was taken out of 1.4 because of some compatibility
issues. When will datetime be a full numpy feature?
Best Regards,
John
___
NumPy-Discussion maili
Dear All,
help appreciated, thanks in advance.
how do you fit a pdf you have with a given pdf (say gamma).
with the file attached, you can go like:
a=open("AC-010_ED-1m37F100P0.txt","rb")
aa=a.read()
aaa=aa[1:-1].split(",")
data=[int(i) for i in aaa]
if you do pylab.plot(data); pylab.show()
T