> On 16 Oct 2016, at 03:21, Allan Haldane wrote:
>
>> On 10/14/2016 07:49 PM, Juan Nunez-Iglesias wrote:
>> +1 for propagate_mask. That is the only proposal that immediately makes
>> sense to me. "contagious" may be cute but I think approximately 0% of
>> users would
On 03 Apr 2015, at 00:04, Colin J. Williams c...@ncf.ca wrote:
On 02-Apr-15 4:35 PM, Eric Firing wrote:
On 2015/04/02 10:22 AM, josef.p...@gmail.com wrote:
Swapping the axis when slices are mixed with fancy indexing was a
design mistake, IMO. But not fancy indexing itself.
I'm not
On 17 Mar 2015, at 09:11, Dieter Van Eessen dieter.van.ees...@gmail.com
wrote:
Hello,
Sorry to disturb again, but the topic still bugs me somehow...
I'll try to rephrase the question:
- What's the influence of the type of N-array representation with respect to
TENSOR-calculus?
-
On 14.03.2015, at 10:57, Danny Kramer danny...@netvision.net.il wrote:
Hi,
I am getting the following error message:
C:\Python27\lib\site-packages\numpy\lib\npyio.py:819: UserWarning: loadtxt:
Empty input file: []
warnings.warn('loadtxt: Empty input file: %s' % fname)
main loop
On 18.10.2013 12:33, Pooja Gupta wrote:
I have generated random point around a object and then evaluate each
random point on certain criteria. But problem is that every time I am
getting new point. How i can resolve this problem so that my result
should be uniform. Is any way to evaluate the
.__version__
Out[605]: '1.6.1'
--
Hanno Klemm
kl...@phys.ethz.ch
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hi Stefan,
I would be happy to file a pull request against the docs if you (or
somebody) could point me to a document on how and where to do that.
Hanno
On 24.07.2013 12:31, Stéfan van der Walt wrote:
Hi Hanno
On Wed, Jul 24, 2013 at 11:46 AM, Hanno Klemm kl...@phys.ethz.ch
wrote:
I
Skipper,
this looks like a problem that I had in the bad old days with ATLAS, as well.
Try compiling openblas with the -fPIC flag that used to help.
Best of luck,
Hanno
hanno.kl...@me.com
Sent from my mobile device, please excuse my brevity.
On 23.03.2013, at 19:19, Skipper Seabold
]
http://stackoverflow.com/questions/4150542/determine-index-of-highest-value-in-pythons-numpy
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
--
Hanno Klemm
kl...@phys.ethz.ch
Am 28.06.2012 um 23:07 schrieb Matthew Brett:
Hi,
On Thu, Jun 28, 2012 at 1:42 PM, srean srean.l...@gmail.com wrote:
In case this changes your mind (or assuages fears) just wanted to
point out that many open source projects do this. It is not about
claiming that one is more important than
Hi,
have a look at scipy optimize. For a solution with only positive values you
could consider using scipy.optimize.nnls, if you want more general (linear)
constraints, have a look at the linear programming functions.
Another possibility would be looking at openOpt, which has probably more
Hi,
this should work:
import numpy as np
ndim = 20
cube = np.random.rand(32,ndim, ndim)
result = np.zeros([ndim, ndim], np.float32)
def combine(cube, result):
for ii in range(ndim):
for jj in range(ndim):
result[ii, jj] = np.sqrt((cube[:,ii, jj])).sum()
Mark,
interesting idea. Given the fact that in 2-d euclidean metric, the
Einstein summation conventions are only a way to write out
conventional matrix multiplications, do you consider at some point to
include a non-euclidean metric in this thing? (As you have in special
relativity, for
Am 27.01.2011 um 00:29 schrieb Mark Wiebe:
On Wed, Jan 26, 2011 at 3:18 PM, Hanno Klemm kl...@phys.ethz.ch
wrote:
Mark,
interesting idea. Given the fact that in 2-d euclidean metric, the
Einstein summation conventions are only a way to write out
conventional matrix multiplications, do you
the mean and median for each of the
properties 'props'. Is there a way to do this similarly to a conventional
array with
a[:,2:].mean(axis=0)
or do I have to use a loop over the names of the properties?
Thanks in advance,
Hanno
--
Hanno Klemm
kl...@phys.ethz.ch
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
--
Hanno Klemm
kl...@phys.ethz.ch
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org
=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
2008/8/20 Hanno Klemm [EMAIL PROTECTED]:
In [29]: x =3D array([0.,0.,1, 0, 0])
In [35]: y1 =3D array([1,0,0,0,0])
In [36]: correlate(x,y1,mode=3D'full')
Out[36]: array([ 0., 0., 0., 0., 0., 0., 1
([ 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0.])
N.__version__
'1.1.1'
Best regards,
Hanno
Stéfan van der Walt [EMAIL PROTECTED] said:
Hi Hanno
2008/8/22 Hanno Klemm [EMAIL PROTECTED]:
yes, indeed, that's what I thought. This result is odd. Has correlate
been changed since
,
Hanno
--
Hanno Klemm
[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
, 3.3999, 4.5996), (4, 4.5, 4.5)],
dtype=[('id', 'i4'), ('x', 'f8'), ('y', 'f8')])
type(b)
type 'numpy.ndarray'
type(a)
class 'numpy.core.records.recarray'
Best regards,
Hanno
--
Hanno Klemm
[EMAIL PROTECTED]
___
Numpy
; (and yes, it
does deserve a bug report if one doesn#39;t already
exist)brbr-Kevinbrbr
--=_Part_59405_32758974.1184593945795--
--
Hanno Klemm
[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http
Didrik,
thanks, I'll definitely will have a look at this.
Hanno
Didrik Pinte [EMAIL PROTECTED] said:
--=-aUNlfGW7wc8MzGzdSDGo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Mon, 2007-06-25 at 23:09 +0200, Hanno Klemm wrote:
I will try and dig a bit more
:] - data[...,:-j])**2
result[i] += d2.sum()
denominator += N.prod(d2.shape)
result[i] /= denominator
return result
On 6/22/07, Hanno Klemm [EMAIL PROTECTED] wrote:
Tim,
this is the best I could come up with until now:
import
I will try and dig a bit more in the literature, maybe I find something.
Hanno
On Jun 25, 2007, at 4:59 PM, Timothy Hochberg wrote:
On 6/25/07, Hanno Klemm [EMAIL PROTECTED] wrote:
Tim,
Thank you very much, the code does what's it expected to do.
Unfortunately the thing is still
Hi,
I have an array which represents regularly spaced spatial data. I now
would like to compute the (semi-)variogram, i.e.
gamma(h) = 1/N(h) \sum_{i,j\in N(h)} (z_i - z_j)**2,
where h is the (approximate) spatial difference between the
measurements z_i, and z_j, and N(h) is the number of
think this is an issue that has arisen due to the
changes unless you have checked numpy out recently and compiled it
yourself.
MJ
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hanno Klemm
Sent: Tuesday, May 22, 2007 9:04 AM
To: numpy-discussion
/python2.5/site-packages/numpy/core/__init__.py,
line 5, in module
import multiarray
ImportError: No module named multiarray
Am I doing something wrong? Or does freeze.py not work with numpy?
Hanno
--
Hanno Klemm
[EMAIL PROTECTED]
___
Numpy
something here?
Hanno
--
Hanno Klemm
[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
28 matches
Mail list logo