I'm pretty sure there's code floating around the pyglet mailing list.
I'd be happy to add it to
http://code.astraw.com/projects/motmot/wiki/pygarrayimage if it seems
reasonable. (pygarrayimage goes from numpy array to pyglet texture).
Brian Blais wrote:
> On Jan 29, 2008, at Jan 29:8:24 PM, Andrew
On Jan 29, 2008, at Jan 29:8:24 PM, Andrew Straw wrote:
I'd suggest pyglet's avbin library.
great suggestion! I never would have thought to do that. Do you
happen to know how to convert a
player.texture into a numpy.array?
there is ImageData, but I can't seem to figure out how to do
I'd sugget pyglet's avbin library.
Hans Meine wrote:
> On Dienstag 29 Januar 2008, Brian Blais wrote:
>
>> Is there a way to read frames of a movie in python? Ideally,
>> something as simple as:
>>
>> for frame in movie('mymovie.mov'):
>> pass
>>
>>
>> where frame is either a 2-D list, or
Joris De Ridder wrote:
> On 30 Jan 2008, at 00:32, Travis E. Oliphant wrote:
>
>
>> Matthew Brett wrote:
>>
>>> Hi,
>>>
>>>
>>> median moved mediandim0
>>> implementation of medianwithaxis or similar, with same call
>>> signature as mean.
>>>
>>>
>>
On 30 Jan 2008, at 00:32, Travis E. Oliphant wrote:
> Matthew Brett wrote:
>> Hi,
>>
>> median moved mediandim0
>> implementation of medianwithaxis or similar, with same call
>> signature as mean.
>>
>>
>> But - for the median function change - do we agree that this should
>> be
Matthew Brett wrote:
> Hi,
>
> median moved mediandim0
> implementation of medianwithaxis or similar, with same call
> signature as mean.
>
>
> But - for the median function change - do we agree that this should be
> changed? I think it is a significant wart in the nu
On Dienstag 29 Januar 2008, Brian Blais wrote:
> Is there a way to read frames of a movie in python? Ideally,
> something as simple as:
>
> for frame in movie('mymovie.mov'):
> pass
>
>
> where frame is either a 2-D list, or a numpy array? The movie format
> can be anything, because I can pr
Hello,
Is there a way to read frames of a movie in python? Ideally,
something as simple as:
for frame in movie('mymovie.mov'):
pass
where frame is either a 2-D list, or a numpy array? The movie format
can be anything, because I can probably convert things, but most
convenient woul
Hi,
> > >> median moved mediandim0
> > >> implementation of medianwithaxis or similar, with same call
> > >> signature as mean.
But - for the median function change - do we agree that this should be
changed? I think it is a significant wart in the numpy API, and has
caught quite a few people...
Andrew Straw wrote:
> Considering that many of the statistical functions (mean, std, median)
> must iterate over all the data and that people (or at least myself)
> typically call them sequentially on the same data, it may make sense to
> make a super-function with less repetition.
http://currents
Considering that many of the statistical functions (mean, std, median)
must iterate over all the data and that people (or at least myself)
typically call them sequentially on the same data, it may make sense to
make a super-function with less repetition.
Instead of:
x_mean = np.mean(x)
x_median =
Hi,
> All that is going to be merged are the "hooks" necessary to allow his
> numscons package to work.
>
> This is not a big change, as far as I know.
Yes, sorry, I misunderstood - and had thought the plan was to move to
the numscons build system as the default. Now I've understood it, it
sound
Hi,
> >> median moved mediandim0
> >> implementation of medianwithaxis or similar, with same call
> >> signature as mean.
> >>
> >> Deprecation warning for use of median, and return of mediandim0 for
> >> now. Eventual move of median to return medianwithaxis.
> >
> > This would confuse people even
On Jan 29, 2008, at 11:51 AM, Joris De Ridder wrote:
> This feature request has been repeatedly asked before (e.g. 6 months
> ago). The relevant ticket (#558, although this only asks for axis
> support) mentions a milestone 1.1. I would like to ask if it could be
> moved somewhat higher on the prio
On Jan 29, 2008 7:16 PM, Lou Pecora <[EMAIL PROTECTED]> wrote:
> Hmmm... Interesting. I am using Python 2.4.4. It
> would be nice to have other Mac people with same/other
> Python and numpy versions try the argsort "bug" code.
I don't see any memory leak with the test code.
Mac OS X 10.5.1
Pytho
Hmmm... Interesting. I am using Python 2.4.4. It
would be nice to have other Mac people with same/other
Python and numpy versions try the argsort "bug" code.
-- Lou Pecora
--- Francesc Altet <[EMAIL PROTECTED]> wrote:
> A Tuesday 29 January 2008, Lou Pecora escrigué:
> > This still occurs in
A Tuesday 29 January 2008, Lou Pecora escrigué:
> This still occurs in numpy 1.0.3.1 so must have been
> fixed between that and your 1.0.4-5 version.
It works here and I'm using NumPy 1.0.3, Python 2.5.1 on a Ubuntu 7.10 /
Pentium4 machine.
> By the way the memory problem crashes my Intel Mac
>
Stuart Brorson wrote:
> I have to agree with Lorenzo. There is no natural ordering of the
> complex numbers. Any way you order them is arbitrary.
>
> Accepting this, the question then becomes "what should NumPy do when
> the user tries to do order comparison operations on complex numbers.
> The
I have to agree with Lorenzo. There is no natural ordering of the
complex numbers. Any way you order them is arbitrary.
Accepting this, the question then becomes "what should NumPy do when
the user tries to do order comparison operations on complex numbers.
The problem is that NumPy is schizoph
This feature request has been repeatedly asked before (e.g. 6 months
ago). The relevant ticket (#558, although this only asks for axis
support) mentions a milestone 1.1. I would like to ask if it could be
moved somewhat higher on the priority list.
I provided some code for axis support (see
Matthew Brett wrote:
> Hi,
>
>
>> http://projects.scipy.org/scipy/numpy/browser/branches/build_with_scons/
>>
>
> Excellent idea - and congratulations to David for all his hard work -
> but this is a large change, and I wonder if we need more time with the
> scons build system in the svn
Hi,
I was wondering whether there was any plan to change the anomalous
interface of median, for example compared to 'mean', 'min', 'max'
np.mean(a, axis=None, dtype=None, out=None)
whereas:
np.median(m)
'median(m) returns a median of m along the first dimension of m.'
I think it would be a goo
I'd rather say "arbitrary".
On 1/29/08, Neal Becker <[EMAIL PROTECTED]> wrote:
>
> lorenzo bolla wrote:
>
> > I noticed that:
> >
> > min([1+1j,-1+3j])
> >
> > gives 1+1j in matlab (where for complex, min(abs) is used)
> > but gives -1+3j in numpy (where lexicographic order is used)
> >
> > should
lorenzo bolla wrote:
> I noticed that:
>
> min([1+1j,-1+3j])
>
> gives 1+1j in matlab (where for complex, min(abs) is used)
> but gives -1+3j in numpy (where lexicographic order is used)
>
> shouldn't this be mentioned somewhere in "Numpy for Matlab users" webpage?
>
It should be stated that
This still occurs in numpy 1.0.3.1 so must have been
fixed between that and your 1.0.4-5 version.
By the way the memory problem crashes my Intel Mac
Book Pro (system 10.4.11) with the gray screen and
black dialog box telling me to restart my computer. A
very UN-unix like and UN-Mac like way of
On Tue, Jan 29, 2008 at 02:58:15PM +0100, Oriol Vendrell wrote:
> Hi all,
>
> I've noticed something that looks like an odd behaviour in array.argsort().
>
>
> # test1 -
> from numpy import array
> while True:
> a=array([8.0,7.0,6.0,5.0,4.0,2.0])
> i=a.argsort()
> # -
Hi all,
I've noticed something that looks like an odd behaviour in array.argsort().
# test1 -
from numpy import array
while True:
a=array([8.0,7.0,6.0,5.0,4.0,2.0])
i=a.argsort()
# ---
# test2 -
from numpy import array
a=ar
Matthew Brett wrote:
> Hi,
>
>> http://projects.scipy.org/scipy/numpy/browser/branches/build_with_scons/
>
> Excellent idea - and congratulations to David for all his hard work -
> but this is a large change, and I wonder if we need more time with the
> scons build system in the svn trunk? Not t
Hi,
> http://projects.scipy.org/scipy/numpy/browser/branches/build_with_scons/
Excellent idea - and congratulations to David for all his hard work -
but this is a large change, and I wonder if we need more time with the
scons build system in the svn trunk? Not to say it should not be in
1.0.5,
I noticed that:
min([1+1j,-1+3j])
gives 1+1j in matlab (where for complex, min(abs) is used)
but gives -1+3j in numpy (where lexicographic order is used)
shouldn't this be mentioned somewhere in "Numpy for Matlab users" webpage?
--
Lorenzo Bolla
[EMAIL PROTECTED]
http://lorenzobolla.emurse.com
Hello Dear Members of Numpy.
I experienced some problems using numpy when i tried to compile it
with py2exe. How this is done?
Thanks and Regrads
Matthew
--
Kollox Ghal Xejn
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.
31 matches
Mail list logo