On Mi, 2016-04-27 at 22:11 +0530, Saumyajit Dey wrote:
> Hi,
>
> Thanks a lot for the reply. I am looking into the documentation
> already. Also is there any guide as to how the source code of Numpy
> is organised?
>
> For example, when i write
>
> > np.power(2,3)
> what is the workflow in
Hi,
Thanks a lot for the reply. I am looking into the documentation already.
Also is there any guide as to how the source code of Numpy is organised?
For example, when i write
np.power(2,3)
what is the workflow in terms of functions in different modules being
called?
Regards,
Saumyajit
Hi,
Welcome! It would be a good exercise to look at the documentation and
tutorial for Numpy at http://docs.scipy.org/doc/
Also the lectures at the lectures at www.scipy-lectures.org might be a
interesting introduction to scientific python in numpy stack.
Hope it helps.
Happy learning !
Thanks a lot, Paul for the reply.
I will look into the contribution guidelines. Also could you please
suggest some good reading resources for getting to know more about NumPy.
Regards,
Saumyajit
Saumyajit Dey
Junior Undergraduate Student:
Department of Computer Science and Engineering
Saumyajit,
Numpy's source code is hosted on Github. You can find the contributing
guides there:
https://github.com/numpy/numpy/blob/master/CONTRIBUTING.md
-paul
On Tue, Apr 26, 2016 at 2:35 AM, Saumyajit Dey <
dsaumya...@student.nitw.ac.in> wrote:
> Hi,
>
> This is Saumyajit Dey and I am
Hi,
This is Saumyajit Dey and I am looking forward to start contributing to
NumPy.
I have never contributed to any open source projects before so I would want
to know some tips and guidelines to start contributing.
Regards,
Saumyajit
Saumyajit Dey
Junior Undergraduate Student:
Department of
Hello,
Over at Python-ideas, there is a thread [0] about the following discrepancy:
numpy.array(float('inf')) // 1
inf
float('inf') // 1
nan
There are reasons for either result, but I believe it would be very
nice if either Python or Numpy changed, so they would give the same
value.
If any of
My vote is that NumPy is correct here. I see no reason why
float('inf') / 1
and
float('inf') // 1
should return different results.
Ben Root
On Thu, Sep 18, 2014 at 12:31 PM, Petr Viktorin encu...@gmail.com wrote:
Hello,
Over at Python-ideas, there is a thread [0] about the following
Well,
First of all, numpy and the python math module have a number of differences
when it comes to handling these kind of special cases -- and I think that:
1) numpy needs to do what makes the most sense for numpy and NOT mirror the
math lib.
2) the use-cases of the math lib and numpy are
On 09/18/2014 12:01 PM, Chris Barker wrote:
Well,
First of all, numpy and the python math module have a number of
differences when it comes to handling these kind of special cases --
and I think that:
1) numpy needs to do what makes the most sense for numpy and NOT
mirror the math lib.
On Thu, Sep 18, 2014 at 7:14 PM, Jonathan Helmus jjhel...@gmail.com wrote:
On 09/18/2014 12:01 PM, Chris Barker wrote:
Well,
First of all, numpy and the python math module have a number of differences
when it comes to handling these kind of special cases -- and I think that:
1) numpy needs
On Thu, Sep 18, 2014 at 10:44 AM, Petr Viktorin encu...@gmail.com wrote:
2) the use-cases of the math lib and numpy are different, so they maybe
_should_ have different handling of this kind of thing.
If you have a reason for the difference, I'd like to hear it.
For one, numpy does array
On 09/18/2014 12:44 PM, Petr Viktorin wrote:
On Thu, Sep 18, 2014 at 7:14 PM, Jonathan Helmus jjhel...@gmail.com wrote:
On 09/18/2014 12:01 PM, Chris Barker wrote:
Well,
First of all, numpy and the python math module have a number of differences
when it comes to handling these kind of
On Thu, Sep 18, 2014 at 1:30 PM, Jonathan Helmus jjhel...@gmail.com wrote:
On 09/18/2014 12:44 PM, Petr Viktorin wrote:
On Thu, Sep 18, 2014 at 7:14 PM, Jonathan Helmus jjhel...@gmail.com
wrote:
On 09/18/2014 12:01 PM, Chris Barker wrote:
Well,
First of all, numpy and the python
On Thu, Jan 23, 2014 at 11:58 PM, jennifer stone
jenny.stone...@gmail.comwrote:
Scipy doesn't have a function for the Laplace transform, it has only a
Laplace distribution in scipy.stats and a Laplace filter in scipy.ndimage.
An inverse Laplace transform would be very welcome I'd think -
Both scipy and numpy require GSOC
candidates to have a pull request accepted as part of the application
process. I'd suggest implementing a function not currently in scipy that
you think would be useful. That would also help in finding a mentor for the
summer. I'd also suggest getting
Scipy doesn't have a function for the Laplace transform, it has only a
Laplace distribution in scipy.stats and a Laplace filter in scipy.ndimage.
An inverse Laplace transform would be very welcome I'd think - it has real
world applications, and there's no good implementation in any open source
On Tue, Jan 21, 2014 at 5:46 PM, Charles R Harris charlesr.har...@gmail.com
wrote:
On Tue, Jan 21, 2014 at 9:26 AM, jennifer stone
jenny.stone...@gmail.comwrote:
What are your interests and experience? If you use numpy, are there
things
you would like to fix, or enhancements you would
What are your interests and experience? If you use numpy, are there things
you would like to fix, or enhancements you would like to see?
Chuck
I am an undergraduate student with CS as major and have interest in Math
and Physics. This has led me to use NumPy and SciPy to work on innumerable
On Tue, Jan 21, 2014 at 9:26 AM, jennifer stone jenny.stone...@gmail.comwrote:
What are your interests and experience? If you use numpy, are there things
you would like to fix, or enhancements you would like to see?
Chuck
I am an undergraduate student with CS as major and have interest
On Tue, 21 Jan 2014 21:56:17 +0530, jennifer stone wrote:
I am an undergraduate student with CS as major and have interest in Math
and Physics. This has led me to use NumPy and SciPy to work on innumerable
cases involving special polynomial functions and polynomials like Legendre
polynomials,
On Tue, Jan 21, 2014 at 9:46 AM, Charles R Harris charlesr.har...@gmail.com
wrote:
On Tue, Jan 21, 2014 at 9:26 AM, jennifer stone
jenny.stone...@gmail.comwrote:
What are your interests and experience? If you use numpy, are there
things
you would like to fix, or enhancements you would
Hello,
This is Jennifer Stupensky. I would like to contribute to NumPy this GSoC.
What are the potential projects that can be taken up within the scope of
GSoC? Thanks a lot in anticipation
Regards
Jennifer
___
NumPy-Discussion mailing list
Hi Jennifer,
On Sat, Jan 18, 2014 at 11:48 AM, jennifer stone
jenny.stone...@gmail.comwrote:
Hello,
This is Jennifer Stupensky. I would like to contribute to NumPy this GSoC.
What are the potential projects that can be taken up within the scope of
GSoC? Thanks a lot in anticipation
Regards
Hi,
Thanks both - very helpful,
Matthew
On 11/22/13, Robert Kern robert.k...@gmail.com wrote:
On Fri, Nov 22, 2013 at 9:23 PM, Matthew Brett matthew.br...@gmail.com
wrote:
Hi,
I'm sorry if I missed something obvious - but is there a vectorized
way to look for None in an array?
In [3]:
Hi,
I'm sorry if I missed something obvious - but is there a vectorized
way to look for None in an array?
In [3]: a = np.array([1, 1])
In [4]: a == object()
Out[4]: array([False, False], dtype=bool)
In [6]: a == None
Out[6]: False
(same for object arrays),
Thanks a lot,
Matthew
On Fri, Nov 22, 2013 at 4:23 PM, Matthew Brett matthew.br...@gmail.comwrote:
Hi,
I'm sorry if I missed something obvious - but is there a vectorized
way to look for None in an array?
In [3]: a = np.array([1, 1])
In [4]: a == object()
Out[4]: array([False, False], dtype=bool)
In [6]: a
On Fri, Nov 22, 2013 at 9:23 PM, Matthew Brett matthew.br...@gmail.com
wrote:
Hi,
I'm sorry if I missed something obvious - but is there a vectorized
way to look for None in an array?
In [3]: a = np.array([1, 1])
In [4]: a == object()
Out[4]: array([False, False], dtype=bool)
In [6]: a
Hello,
I'm new to numpy, and I'm a stuck on my first real project with it.
I am trying to take the rfft of a numpy array, like this:
my_rfft = numpy.fft.rfft(my_numpy_array)
and replace the amplitudes that can be obtained with:
my_amplitudes = numpy.abs(my_rfft)
with amplitudes from an
I am trying to take the rfft of a numpy array, like this:
my_rfft = numpy.fft.rfft(my_numpy_array)
and replace the amplitudes that can be obtained with:
my_amplitudes = numpy.abs(my_rfft)
with amplitudes from an arbitrary numpy array's rFFT, which is to then be
converted back using
Hi Tim,
Brilliant! Many thanks... I think this is exactly what I need, I owe you
a beer (or other beverage of your choice).
I'm now going to lock myself in the basement until I can work out an
implementation of this for my use-case :)
/Carl
On Tue, Sep 3, 2013 at 9:05 PM, Cera, Tim
Hi,
On Fri, Apr 20, 2012 at 9:15 PM, Andre Martel soucoupevola...@yahoo.comwrote:
What would be the best way to remove the maximum from a cube and
collapse the remaining elements along the z-axis ?
For example, I want to reduce Cube to NewCube:
Cube
array([[[ 13, 2, 3, 42],
What would be the best way to remove the maximum from a cube and collapse the
remaining elements along the z-axis ?
For example, I want to reduce Cube to NewCube:
Cube
array([[[ 13, 2, 3, 42],
[ 5, 100, 7, 8],
[ 9, 1, 11, 12]],
[[ 25, 4, 15, 1],
On Fri, Apr 20, 2012 at 2:15 PM, Andre Martel soucoupevola...@yahoo.comwrote:
What would be the best way to remove the maximum from a cube and
collapse the remaining elements along the z-axis ?
For example, I want to reduce Cube to NewCube:
Cube
array([[[ 13, 2, 3, 42],
[
a href=http://alumnos.digicap.cl/images/rmngl.html;
http://alumnos.digicap.cl/images/rmngl.html/a___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Could someone please ban this person from the mailing list, he keeps
sending spam.
On 6 April 2012 12:41, Jean-Baptiste Rudant boogalo...@yahoo.fr wrote:
http://alumnos.digicap.cl/images/rmngl.html
___
NumPy-Discussion mailing list
Le 06/04/2012 14:06, mark florisson a écrit :
Could someone please ban this person from the mailing list, he keeps
sending spam.
I was about to ask the same thing.
In the mean time, I googled the name of this gentleman and found a
possible match with a person working for the French national
On Fri, Apr 6, 2012 at 7:06 AM, mark florisson markflorisso...@gmail.comwrote:
Could someone please ban this person from the mailing list, he keeps
sending spam.
On 6 April 2012 12:41, Jean-Baptiste Rudant boogalo...@yahoo.fr wrote:
http://alumnos.digicap.cl/images/rmngl.html
They should
a href=http://donnamaui.com/images/uploads/_thumbs/fjgvkd.html;
http://donnamaui.com/images/uploads/_thumbs/fjgvkd.html/a___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
a
href=http://dmjmultimedia.com/components/com_jcomments/tpl/default/jrklre.html;
http://dmjmultimedia.com/components/com_jcomments/tpl/default/jrklre.html/a___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
a href=http://motovideo.cl/videos/website_2.0/wp-content/02efpk.html;
http://motovideo.cl/videos/website_2.0/wp-content/02efpk.html/a___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
basic difference between the commands:
import numpy as np
from numpy import *
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
The namespace is different. If you want to use numpy.sin(), for
example, you would use:
import numpy as np
np.sin(angle)
or
from numpy import *
sin(angle)
I generally prefer the first option because then I don't need to worry
about multiple imports writing on top of each other (i.e., having
Hi,
I would like to make a sanity test to check that calling the same
function with different parameters actually gives different results.
I am currently using::
try:
npt.assert_almost_equal(numpy_result, result)
except AssertionError:
assert True
else:
Not sure if there's a better way, but you can do it with
assert not numpy.allclose(numpy_result, result)
-=- Olivier
2012/1/20 Hänel Nikolaus Valentin valentin.hae...@epfl.ch
Hi,
I would like to make a sanity test to check that calling the same
function with different parameters actually
* Olivier Delalleau sh...@keba.be [120120]:
Not sure if there's a better way, but you can do it with
assert not numpy.allclose(numpy_result, result)
Okay, thats already better than what I have.
thanks
V-
___
NumPy-Discussion mailing list
I got a problem running NumPy in Eclipse. I recently installed PyDev, but
after downloading NumPy the installation attempt failed since python 2.6 was
not found. I've installed Python 2.7. Do I need to replace it with Python
2.6?
___
NumPy-Discussion
Sounds like you need to re-download NumPy, but the version for Python 2.7.
-=- Olivier
2011/10/3 Alex Ter-Sarkissov ater1...@gmail.com
I got a problem running NumPy in Eclipse. I recently installed PyDev, but
after downloading NumPy the installation attempt failed since python 2.6 was
not
Alex Ter-Sarkissov ater1980 at gmail.com writes:
hi, the question is probably very silly, but can't get my head around itSay
I have an NxM numerical array. What I want is to obtain the row and
column number of the smallest value(kinda like find command in Matlab).
I use something like
...for example:
A = np.random.rand(5,5)
In [366]: A
Out[366]:
array([[ 0.36380049, 0.26440478, 0.8515609 , 0.07893608, 0.48084575],
[ 0.71133527, 0.90912083, 0.14812865, 0.23223621, 0.49983985],
[ 0.51668793, 0.73303799, 0.18620246, 0.52968823, 0.51904697],
[
hi, the question is probably very silly, but can't get my head around it
Say I have an NxM numerical array. What I want is to obtain the row and
column number of the smallest value(kinda like find command in Matlab). I
use something like where(min(array_name)), but keep getting the error
message.
On Wed, Mar 2, 2011 at 5:25 PM, Alex Ter-Sarkissov ater1...@gmail.com wrote:
hi, the question is probably very silly, but can't get my head around it
Say I have an NxM numerical array. What I want is to obtain the row and
column number of the smallest value(kinda like find command in Matlab).
On Wed, Mar 2, 2011 at 16:25, Alex Ter-Sarkissov ater1...@gmail.com wrote:
hi, the question is probably very silly, but can't get my head around it
Say I have an NxM numerical array. What I want is to obtain the row and
column number of the smallest value(kinda like find command in Matlab). I
Hello everyone,
I'm currently planning to use a Python-based infrastructure for our HPC
project.
I've previously used NumPy and SciPy for basic scientific computing tasks,
but
performance hasn't been quite an issue for me until now. At the moment I'm
not too
sure as to what to do next though, and
On Wed, May 13, 2009 at 10:18 PM, David J Strozzi stroz...@llnl.gov wrote:
Hi,
[You may want to edit the numpy homepage numpy.scipy.org to tell
people they must subscribe to post, and adding a link to
http://www.scipy.org/Mailing_Lists]
Many of you probably know of the interpreter yorick
Hi,
[You may want to edit the numpy homepage numpy.scipy.org to tell
people they must subscribe to post, and adding a link to
http://www.scipy.org/Mailing_Lists]
Many of you probably know of the interpreter yorick by Dave Munro. As
a Livermoron, I use it all the time. There are some
Hi,
In my work, I want to implement a fir filter with an input array. Since
performing the filter on each input sample is slow, are there fast way to
perform the fir filter operation? Are there ways to convert input into an
array and perform the array multipication?
Thanks
Frank
frank wang wrote:
Hi,
In my work, I want to implement a fir filter with an input array.
Since performing the filter on each input sample is slow, are there
fast way to perform the fir filter operation? Are there ways to
convert input into an array and perform the array multipication?
] On Behalf Of Nadav Horesh
Sent: Friday, February 16, 2007 8:52 AM
To: Discussion of Numerical Python
Subject: RE: [Numpy-discussion] Numpy and iterative procedures
At first glance it doesn't look hard to, at least, avoid looping over i,
by replacing [i] by [:-2], [i+1] by [1:-1] and [i+2] by [2
PROTECTED]
Sent: Fri 16-Feb-07 18:34
To: numpy-discussion@scipy.org
Cc:
Subject:[Numpy-discussion] (no subject)
Hi Nadav,
The code is attached at the end. There is probably still bugs in there
but it does not prevent me from showing the difficulty.
If you look at the inner loop
Hi,
I would like to get information on the software licenses for numpy
numeric. On the sourceforge home for the packages, the listed license
is OSI-Approved Open Source /softwaremap/trove_list.php?form_cat=14 .
Is it possible to get more information on this? A copy of the document
would be
Hi Derek,
Like all Free Open Source Software (FOSS) projects the license is
distributed with the source code.
There is a file called LICENSE.txt in the numpy tar archive.
Here are the contents of that file.
license
Copyright (c) 2005, NumPy Developers
All rights reserved.
Redistribution and use
Bandler, Derek wrote:
Hi,
I would like to get information on the software licenses for numpy
numeric. On the sourceforge home for the packages, the listed license
is _OSI-Approved Open Source_
file:///softwaremap/trove_list.php?form_cat=14. Is it possible to get
more information on
63 matches
Mail list logo