ty, arange, array_repr, ndarray
File "/home/galtay/github/numpy-env/numpy/numpy/core/__init__.py", line
6, in
from . import multiarray
ImportError: cannot import name multiarray
Any hints? I'm running Continuum Analytics Anaconda Python distribution
thanks,
-Gabriel
up the matrix, I know for sure that there must be one
eigenvalue exactly equal to 1.
Any help is greatly appreciated!
This is all on
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
(Intel)] on win32
Regards,
Gabriel
___
NumPy-Discuss
Yes!!! it was... I didn't realize.
Thank you very much
2009/11/3 Raspaud Martin
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> Gabriel wrote:
> > Hi it`s my first time.
> >
> > I have a trouble whit fft.
> > For example:
> > s = sin(w
Hi it`s my first time.
I have a trouble whit fft.
For example:
s = sin(wt)
f = abs(fft(s))
In f I have the module the fft(s) which should be equal to 1 for w but it's
1000 for w. All values is multiplied by 1000.
Someone know why?
Thank's
--
Gabriel
Antes de imprimir, p
hen and hope for better days in the future.
Best, Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Sun, 2009-06-07 at 19:00 +0900, David Cournapeau wrote:
> hence *most* :) I doubt most numpy users need to do PCA on
> high-dimensional data.
OK a quick look on the MDP website learns that I am one of the
exceptions (as Gaël's email already suggested)
so your
advice is well taken. One thing I can think of is PCA and ICA (of *big*
matrices of float32 data), using the MDP toolbox mostly. I should find
out in how far Atlas is crucial specifically for that.
All the best, Gabriel
___
Numpy-
OK, perhaps I drank that beer too soon...
Now, numpy.test() hangs at:
test_pinv (test_defmatrix.TestProperties) ...
So perhaps something is wrong with ATLAS, even though the building went
fine, and "make check" and "make ptcheck" reported no errors.
Gabriel
On Sun, 2009-
my 32-bit machine
and the different processor speed): the dash before "alg" should be
removed, and "Lapack_LINUX.a" should be "lapack_LINUX.a".
Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://m
I, for one, would be very grateful if DPSS code could be added to NumPy.
Best, Gabriel
On Fri, 2009-04-03 at 16:21 +0200, Stéfan van der Walt wrote:
> Hi Sturla
>
> 2009/4/3 Sturla Molden :
> > NumPy has support for various window functions (von Hann, hamming,
> > blac
segfaults when
the PyArray_EMPTY call is made.
Thanks,
Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
ies this, or we need to rename
the normal trig functions.
I can see not wanting to break API compatibility but I don't find the
`different functions` argument compelling.
Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
he new names and add a
> ``DeprecationWarning`` informing that people should start to use the
> new names. After two or three NumPy versions, the old function names
> can be removed safely.
>
> What people think?
>
+1
Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
orting R code that uses a lot of apply like logic. I know most
numpy functions have the axis argument built in, but when writing my own
functions I find this a real time saver.
Anyway, if someone can show be a better way I would be overjoyed, or if people
like this I can make a ticket
On Wed, Nov 12, 2008 at 12:34:51PM -0600, Ryan May wrote:
> Charles سمير Doutriaux wrote:
> > Hello,
> >
> > I'm wondering if there's aquick way to do the following:
> >
> > s[:,5]=value
> >
> > in a "general" function
> > def setval(array,index,value,axis=0):
> > ## code here
>
> Assuming
>
> The issue is to put enough ":" before the index value inside the
> square bracket of the assignement.
>
Make some slice objects!
def setval(array, index, value, axis=0):
key = [slice(None)]*len(array.shape)
key[axis] = index
array[key] = value
Gabriel
___
algorithm, what you can do is find out how gsl does this
and just set the full seed array in numpy.random.RandomState yourself. I have
done this for comparison with R's mersenne twister algorithm using my own MT
implementation and it works like a charm.
Gabriel
___
ease by Threshold"
> >
> >
> > I would like to translate it as:
> > y[y >
> Hi,
>
> your solution does not work, becaus the arrays on both
> side do not have the same size in generall.
>
> You can do it in place:
>
> y[y
Nice,
ke to translate it as:
> y[y
You are close, you just need to have the right hand side also use vector
indexing (since otherwise you are trying to add something of length y to a
subset of y):
y[y < Threshold] = y[y < Threshold] + Threshold
Gabriel
__
ng.com/?p=29. The
>programs are at
>
> [2]http://wiki.deductivethinking.com/wiki/Python_Programs_for_Modelling_Infectious_Diseases_book.
Thanks for this, it is great!
Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http
om/portal/download/files/unprot/fortran/docs/lrm/lrm0184.htm#generic_inter_op
I think this is ideal as I am used to it, but at the least I vote for a
multiplication operator.
Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
On Wed, Oct 15, 2008 at 09:45:39AM -0500, Travis E. Oliphant wrote:
> Gabriel Gellner wrote:
> > Some colleagues noticed that var uses biased formula's by default in numpy,
> > searching for the reason only brought up:
> >
> > http://article.gmane.org/gmane.comp.py
I can hide the var/std methods of numpy arrays? I have my own
library which does things the R way, and in my lab letting people discover
this 'bug' using name completion in ipython is a nightmare.
Any help?
thanks, Gabriel
___
Numpy-discussi
, Gabriel
On Mon, 2008-08-25 at 17:25 -0600, Dan Colesworthy wrote:
> Hello all,
>
>
>
> I need an efficient way to convert 24 bit signed audio data to a numpy
> array for further processing. The data will be in a .wav file, and
> can be recovered via the python wave modu
rays are fundamentally a part of numpy, and no one is even
> suggesting that they would go away. No one is seriously suggesting
> that we should remove recarray, but some of us hesitate to recommend
> its use over plain record arrays.
>
> Does that clarify the discussion for yo
gt;> f.close()
With most real data file size can be smaller because you have the
option of enabling compression.
But I must admit that I haven't tried reading HDF5 in Matlab or C (and
never will); I know it is possible, but I don't know how difficult it
is.
Cheers, Gabriel
On T
PyTables is an efficient way of doing it (http://www.pytables.org). You
essentially write data to a HDF5 file, which is portable and can be read
in Matlab or in a C program (using the HDF5 library).
Gabriel
On Tue, 2008-05-20 at 09:32 -0400, Gary Pajer wrote:
> I want to store data in a way t
Does numpy have something like Matlab's accumarray?
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html
Best, Gabriel
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/
count=3)
Out[4]: array([ 23, 0, 151904160])
...
Pentium Dual Core, Ubuntu Linux 7.10, I have both gcc-3.4 and gcc-4.1 on
my system; don't know which one the setup.py uses. Default is 4.1.3
Gabriel
On Sun, 2008-01-27 at 01:16 -0700, Charles R Harris wrote:
>
>
> On Jan 26, 2
:,Uns);
m is a positive integer. The problem is that Xijm should be a
1-dimensional array (I think), so what is Uns doing in the second
statement? Is this some way to expand Xijm into a second dimension? What
would be a numpy equivalent?
Gabriel
___
30 matches
Mail list logo