On Thu, Mar 6, 2008 at 11:37 AM, Gregory, Matthew <
[EMAIL PROTECTED]> wrote:
> Eads, Damian wrote:
> > You may need to be a bit more specific by what you mean by
> > weighted majority. What are the range of values for values
> > and weights, specifically? This sounds a lot like pixel
> > classifi
Hi Gregory,
Gregory, Matthew wrote:
> Eads, Damian wrote:
>> You may need to be a bit more specific by what you mean by
>> weighted majority. What are the range of values for values
>> and weights, specifically? This sounds a lot like pixel
>> classification where each pixel is classified with
I'm not a pyrex/Cython expert, but
Joris De Ridder wrote:
> Pyrex is kind of a dialect, so your extension modules would be nor
> python nor C, but a third language.
correct.
> Is this indeed easier to maintain?
yes, because while you can write C extensions in C, you need to use the
qui
On 06 Mar 2008, at 19:15, Fernando Perez wrote:
> http://www.cython.org/
> is an evolved version of Pyrex (which is used by numpy and scipy) with
> lots of improvements. We'd like to position Cython as the preferred
> way of writing most, if not all, new extension code written for numpy
> and sc
On Thu, Mar 6, 2008 at 9:48 PM, Robin <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 6, 2008 at 6:15 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> > Any student interested in this should quickly respond on the list;
> > such a project would likely be co-mentored by people on the Numpy and
> >
On Thu, Mar 6, 2008 at 1:12 PM, Sean Arms <[EMAIL PROTECTED]> wrote:
>
> Keith Goodman wrote:
> > On Thu, Mar 6, 2008 at 12:36 PM, <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Proposed solution:
> >> -
> >>
> >> It's probably not the best way (noob, that's me), but thi
Keith Goodman wrote:
> On Thu, Mar 6, 2008 at 12:36 PM, <[EMAIL PROTECTED]> wrote:
>
>
>> Proposed solution:
>> -
>>
>> It's probably not the best way (noob, that's me), but this situation could
>> be fixed by:
>>
>> 1) add a fill keyword to loadtxt such that
>>
>>
On Thu, Mar 6, 2008 at 12:36 PM, <[EMAIL PROTECTED]> wrote:
> Proposed solution:
> -
>
> It's probably not the best way (noob, that's me), but this situation could
> be fixed by:
>
> 1) add a fill keyword to loadtxt such that
>
> def loadtxt(...,fill=-999):
>
> 2) a
On Thu, Mar 6, 2008 at 6:15 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> Any student interested in this should quickly respond on the list;
> such a project would likely be co-mentored by people on the Numpy and
> Cython teams, since it is likely to require expertise from both ends.
Hello
Greetings!
I'm relatively new to numpy (and python in general), and so far I have been
very pleased! I've been writing an atmospheric boundary-layer observation
analysis package to use for my PhD research and I have ran into an issue with
the loadtxt function (as an aside, our dataloggers outp
On Thu, Mar 6, 2008 at 10:47 AM, Charles Doutriaux <[EMAIL PROTECTED]> wrote:
> Hello,
>
> we're trying to install fortran extension with f2py, works great on
> linux, mac 10.4 (gfortran and g77)
> but on 10.5, it picks up g77 and then complains about cc_dynamic library.
>
> Apparently this lib
On Sat, Mar 1, 2008 at 10:43 PM, Travis E. Oliphant
<[EMAIL PROTECTED]> wrote:
>
> Can you try:
>
> olddt.names = ['notfoo', 'notbar']
>
> on a recent SVN tree. This should now work
>
Thanks Travis, this works great!!
Sameer
___
Numpy-discussion
Eads, Damian wrote:
> You may need to be a bit more specific by what you mean by
> weighted majority. What are the range of values for values
> and weights, specifically? This sounds a lot like pixel
> classification where each pixel is classified with a majority
> vote over its weights and val
On Thursday 06 March 2008 13:15:27 Fernando Perez wrote:
> - Rewriting the existing ndarray subclasses that ship with numpy, such
> as record arrays, in cython. In doing this, benchmarks of the
> relative performance of the new code should be obtained.
Fernando,
I remember having huge difficu
Fernando Perez wrote:
> after the Scipy/Sage Days 8 meeting, we were all very impressed by the
> progress made by Cython.
cool stuff!
> A specific project along these lines, that would be very beneficial
> for numpy could be:
Is there any way to set this up as a possible Google Summer of Co
Hi all,
after the Scipy/Sage Days 8 meeting, we were all very impressed by the
progress made by Cython. For those not familiar with it, Cython:
http://www.cython.org/
is an evolved version of Pyrex (which is used by numpy and scipy) with
lots of improvements. We'd like to position Cython
Hello,
we're trying to install fortran extension with f2py, works great on
linux, mac 10.4 (gfortran and g77)
but on 10.5, it picks up g77 and then complains about cc_dynamic library.
Apparently this lib is not part os 10.5 (Xcode), is that a known
problem? Should we try with what's in trunk?
ok..I coded everything again from scratch..looks like i was having a
problem with matrix class
when i used a matrix for facespace
facespace=sortedeigenvectorsmatrix * adjustedfacematrix
and trying to convert the row to an image (eigenface).
by
make_simple_image(facespace[x],"eigenimage_x.jpg",(im
On Thu, Mar 6, 2008 at 9:53 AM, Emanuele Olivetti
<[EMAIL PROTECTED]> wrote:
> Dear all,
>
> Look at this little example:
>
> import numpy
> a = numpy.array([1])
> b = numpy.array([1,2,a])
> c = numpy.array([a,1,2])
>
> Which has the following output:
>
> Traceback (most re
Dear all,
Look at this little example:
import numpy
a = numpy.array([1])
b = numpy.array([1,2,a])
c = numpy.array([a,1,2])
Which has the following output:
Traceback (most recent call last):
File "b.py", line 4, in
c = numpy.array([a,1,2])
ValueError: setting an array element
20 matches
Mail list logo