mbH - weather matters
Christian Aichinger • IT
A-1220 Wien • Donau-City-Straße 11 • Tel +43 1 263 11 22 • Fax +43 1 263 11 22
219
caichin...@ubimet.com • www.ubimet.com
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy
3rd party module for our
customers.
Thanks for your help,
Christian
This email and any attachments are intended solely for the use of the
individual or entity to whom it is addressed and may be confidential and/or
privileged.
If you are not one of the named recipients or have received this email in e
cumvent distutils brain damage.``,
> you're usually in trouble.
what a pity... do you have an alternative suggestion? Is there a good
alternative, e.g. using cmake, to distribute python modules?
Ciao
Christian
___
NumPy-Discussion mail
ects as well.
The minimal working example is without any python code, as I only have
problems with the pkg config file.
... and concerning cmake, yes we tried this as well, but using cmake to
distribute the python code is also a pita ;-) ...
Christian
ibute '__getitem__'
I also tried to adopt parts of the numpy setup, but these use
sub-modules, which I don't need... might this the the cause of my
problems?
Any help is highly appreciated ;-)
Cheers
Christian
int foo() { return 10; }
[meta]
Name=@foo@
Version=1.0
Description=dummy
ks like you are looking for the derivative rather than the
gradient. Have a look at:
np.diff(a, n=1, axis=-1)
n is the order if the derivative.
Christian
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Am 10.11.13 23:27, schrieb Charles R Harris:
>
>
>
> On Sun, Nov 10, 2013 at 5:12 PM, Christian K. <mailto:ckk...@hoc.net>> wrote:
>
> Am 10.11.13 21:06, schrieb Christian K.:
> > Am 03.11.13 13:42, schrieb Julian Taylor:
> >> Hi all,
>
Am 10.11.13 21:06, schrieb Christian K.:
> Am 03.11.13 13:42, schrieb Julian Taylor:
>> Hi all,
>>
>> I'm happy to announce the release candidate of Numpy 1.7.2.
>> This is a bugfix only release supporting Python 2.4 - 2.7 and 3.1 - 3.3.
>>
>> More t
ndows installers are available. OS X installer will
follow soon.
On OSX compilation succeeds (with some errors though) but test() fails.
Attached is the full output.
Christian
Python 2.7.5 |Anaconda 1.6.1 (x86_64)| (default, Jun 28 2013, 22:20:13)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
#x27;-msse3']
define_macros = [('NO_ATLAS_INFO', 3)]
atlas_info:
NOT AVAILABLE
lapack_mkl_info:
NOT AVAILABLE
blas_mkl_info:
NOT AVAILABLE
atlas_blas_info:
NOT AVAILABLE
mkl_info:
NOT AVAILABLE
compilers:
GNU Fortran (GCC) 4.2.3
i686-apple-darwin11-llvm-gcc-4.2
],subclass_state)
return tuple(object_state)
def __setstate__(self,state):
nd_state, own_state = state
N.ndarray.__setstate__(self,nd_state)
cb, = own_state
self.cb = cb
Regards, Christian
___
NumPy-D
part
out of curiosity I would like to know for what type of problems/models
you need DE or why do you think it is superior to gradient based minimizers?
Btw., are you aware of ecspy (https://code.google.com/p/ecspy/)? I used
it same years ago and found it very powerful.
Regard
Robert Kern gmail.com> writes:
>
> On Thu, Jun 16, 2011 at 06:28, Christian K. hoc.net> wrote:
> > Hi,
> >
> > I need to do fit a 3d surface to a point cloud. This sounds like a job for
3d
> > orthogonal distance regression. Does anybody know of an im
Hi,
I need to do fit a 3d surface to a point cloud. This sounds like a job for 3d
orthogonal distance regression. Does anybody know of an implementation?
Regards, Christian K.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http
size is in
the Mb range.
Regards, Christian
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
an't
Your function most probably returns None. Show us your code and we will
able to help.
Regards, Christian
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
(-1.1)
Out[66]: -1.0
In [67]: np.ceil(-0.734)
Out[67]: -0
In [68]: np.ceil(-0.256)
Out[68]: -0
In [69]: np.ceil(-0.0)
Out[69]: -0
In [70]: np.ceil(0.2)
Out[70]: 1.0
Best wishes
Christian
--
Dipl.-Ing. Christian Fischer
Institute of Engineering and Computational Mechanics
(name
2D arrays containing the x- and
y-coordinates which are then used to calculate the height field.
In [5]: import numpy as N
In [6]: x,y = N.mgrid[-N.pi/2.0:N.pi/2.0:100j,-N.pi/2.0:N.pi/2.0:100j]
In [7]: z = N.sin(N.sqrt(x**2+y**2))
Christian
___
ved to enter this in the numpy-Trac, but
registration didn't work (I was asked for another username/password at
scipy.org during the registration process) :-((
Thanks,
Christian.
diff -r -C5 numpy-1.4.0.orig/numpy/core/src/private/npy_config.h numpy-1.4.0/numpy/core/src/private/npy_conf
Christopher Barker wrote:
> Hi folks,
>
> This isn't really a numpy question, and I'm doing this with regular old
> python, but I figure you are the folks that would know this:
>
> How do I get python to make a distinction between -0.0 and 0.0? IN this
> case, I'm starting with user input, so:
= linspace(0,1,101)
res = a*exp(-time[:,newaxis,newaxis])
Thanks in advance, Christian
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
lopers may also be interested to assist you
directly. The PSF might (!) even donate some money but I'm not in the
position to discuss it.
I can get you in touch with the PSF if you like. I'm a PSF member and a
core developer.
Christian
___
Robert Kern schrieb:
> On Fri, Jun 26, 2009 at 03:39, Christian K. wrote:
>> John Schulman caltech.edu> writes:
>>
>>>
>>> I'm trying to reduce the memory used in a calculation, so I'd like to
>>> switch my program to float32 instead of
=np.float32 everywhere?
Possibly not the nicest way, but
np.float64 = np.float32
somewhere at the beginning should work.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hi,
I am looking for an elegant and fast way to fill the voids of a 2d array with
neighbouring values. The array's size can be up to (1000, 1000) and its values
are slowly varying around a mean value. What I call voids are values which are
far from the mean value (+- 80%). A void usually extend
hink currently, there's
no C++ any more in scipy (but I could be wrong).
Hope this is useful,
Christian.
diff -r -C3 -N numpy-1.3.0rc1.orig/numpy/distutils/fcompiler/intel.py numpy-1.3.0rc1/numpy/distutils/fcompiler/intel.py
*** numpy-1.3.0rc1.orig/numpy/distutils/fcompiler/intel.py
They are, also in v1..3.0rc1
Many thanks!
Christian
- "Charles R Harris" wrote:
>
>
>
> 2009/3/27 Christian Marquardt < christ...@marquardt.sc >
>
> Error messages? Sure;-)
>
> python -c 'import numpy; numpy.test()'
>
Hi David,
> I *guess* that the compiler command line does not work with your
> changes, and that distutils got confused, and fails somewhere later
> (or sooner, who knows). Without actually seeing the errors you got, it
> is difficult to know more - but I would make sure the command line
> argumen
omplex64)
--
Ran 2029 tests in 19.729s
FAILED (KNOWNFAIL=1, failures=4)
MEDEA /home/marq>
- "Charles R Harris" wrote:
>
>
>
> On Thu, Mar 26, 2009 at 9:06 PM, Charles R Harris < charles
, 4.60555124 -1.11022302e-16j],
dtype=complex64)
Are x and y the expected and actual results? That would just show that there
are small rounding errors in the imaginary part, and that MKL returns the
results
in another order, no?
- "Charles R Harris" wrote:
>
>
>
&g
seem recognize
other packages which are only available there (e.g., scipy or netCDF4 if
specified as a requirement for the install... strange. It also doesn't seem
to work for tables (2.1, so not the newest version)).
Any ideas on what might be going on?
Thanks a lot,
Christian.
-
the .src files converted?
Many thanks,
Christian.
- "Charles R Harris" wrote:
>
>
>
> On Thu, Mar 26, 2009 at 6:25 PM, Christian Marquardt < christ...@marquardt.sc
> > wrote:
>
Hello,
>
> I tried to compile and install numpy 1.3.0b1 on a
k the error message does not even come from the compiler...
I'm lost... WHat does it mean, and why are there source files named ...c.src?
Many thanks,
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
k the error message does not even come from the compiler...
I'm lost... What does it mean, and why are there source files named ...c.src?
Many thanks,
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
b1 yet - I have difficulties to compile that currently
(another email). I'd be more than willing to track this down, but is there
anybody who could give me a starting point where I should start to look?
Many thanks,
Christian.
___
Numpy-discussio
ial
This should give a nice speed up without much work and without complex
dependency analysis. Do you see a possible pit fall? I don't.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
t will move to another server
(probably Python.org) eventually.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
ython 2.6 - mingw does not work well
> yet for 64 bits.
The offical Windows builds of Python 2.5 are created with Visual C 7.1
(also known as VS2003). You can compile an extension with VS 2005 but
that will cause trouble.
Christian
___
Numpy-dis
darn! How could I be that stupid... Please ignore the last message.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Hallo Nina,
ich huete gerade meinen kranken Sohn, wollte aber nicht versaeumen,
Platten zu reservieren:
Januar bis einschliesslich Juni 2009 haette ich gerne 2 Platten pro Monat
gruesse, Christian
___
Numpy-discussion mailing list
Numpy-discussion
sign bit of a float must be made through
the appropriate APIs - either the NumPy API or the new APIs for floats.
Hope to shed some light on things
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Charles R Harris schrieb:
>
>
> On Sun, Aug 31, 2008 at 1:14 PM, Christian K. <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hi,
>
> I just came across somethin I never noticed before. I cannot say whether
> this is due to an up
r
numbers ending with '.0' where the point has not been replaced.
I guess this is a bug. In fact I do not like the idea that repr() of a
numpy float honours the locale settings.
Reagrds, Christian
___
Numpy-discussion mailing list
Numpy-discu
roposal you've to make changes to the parser and tokenizer - perhaps to
the grammar, too. The code is rather complex and tricky - and not very
well documented.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://proj
x27;s
less ambiguous and can't be mistaken for "with open(filename) as fh".
The ideas needs a good PEP. You are definitely up to something. You also
came up with a list of possible issues and corner cases. Are you
interested in pursuing the proposal? *wink*
Christian
__
ith float as from decimal import Decimal
>>> type(1.0)
Wouldn't that solve your general problem more elegant without breaking
other modules?
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Andrew Dalke wrote:
> Or write B \circledast C ? (Or \oast?) Try using Google to search
> for that character.
>>> unicodedata.lookup('CIRCLED ASTERISK OPERATOR')
'⊛'
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.o
g our work for Python 2.6 and 3.0. We came to
the conclusion that we can't rely on the platform's math functions
(especially trigonometric and hyperbolic functions) for special values.
So Mark came up with the idea of lookup tables for special values. Read
my other mail fo
orm workarounds:
http://svn.python.org/projects/python/trunk/Include/pymath.h
http://svn.python.org/projects/python/trunk/Python/pymath.c
HTH
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
specs but we used C89 code.
That should explain my interest in the matter. :]
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
e default size of the dict free list is 80 elements. The allocation
and deallocation of dicts is cheap if you can stay below the threshold.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
tes on a 32bit OS or 8
bytes on a 64bit OS, aka sizeof(uintptr_t). An empty dict increases the
size of every object by ~30 byte.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Stuart Brorson schrieb:
> Hi --
>
> Sorry to be a pest with corner cases, but I found another one.
[...]
Mark and I spent a *lot* of time in fixing those edge cases in Python
2.6 and 3.0. We used the C99 standard as template. I recommend that you
look at our code.
ned in
http://svn.python.org/projects/python/trunk/Objects/obmalloc.c . For
integer and floats uses a separate block allocation schema.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Matthieu Brucher schrieb:
> Hi,
>
> As I've said, you must start by compiling Python with VC++ 8, that means
> using the 2.6 alpha.
Negative Houston
Python 2.6 and 3.0 are using VS 2008 aka VC 9.0
Christian
___
Numpy-discussion m
eption. Since we can't do both in Python we sticked to the exception
part.
> Also, what do these specs say about 0^?
See for yourself
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf The
interesting information are in Annex F.9 and Annex G.6.
So far we haven't dealt wi
0859 refs]
>>> math.pow(0, float("inf"))
0.0
>>> math.pow(0, float("nan"))
nan
>>> math.pow(0, -1)
Traceback (most recent call last):
File "", line 1, in
ValueError: math domain error
Christian
bout ten articles to get the big picture. The information is scattered
all over the place. :/
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
ond beta of Python 3.0.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
/issue1580 -- shorter repr of floats
http://bugs.python.org/issue1635 -- platform independent representation
and creation of +/-inf and nan
http://bugs.python.org/issue1640 -- additional functions for the math module
new: sys.maxsize, gone in 3.0: sys.maxint
Thank you all for your valuable input. Learned something 'bout Numeric
again. And my problem is solved ;-).
Thanks
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
' and 'rotation' are identical.
Any ideas, what's going on or how to solve this?
Numeric version is: 24.2
TIA
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
y book to be sure not to tell you nonsense. So go ahead and
do so, too.
> So there is not way to get a sub-array based on coordinates in an array?
It's just a guess, but probably you can't use an ndarray as index because
indices like this
[[2],[3,4]]
onvert it to a list before:
In [122]: c[ind.tolist()]
Out[122]: array([[ 55., 56., 57., 58., 59.]])
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
On Fri, June 15, 2007 06:01, David Cournapeau wrote:
> I think it is important to separate different issues: object code
> compatibility, runtime compatibility, etc... Those are different issues.
> First, mixing ICC compiled code and gcc code *has* to be possible (I
> have never tried), otherwise,
Hi,
I think the default for the standard python distutils is to use the
compiler and the compiler settings for the C compiler that were used to
build Python itself. There might be ways to specify other compilers; but
if you have a shared python library build with one compiler and modules
build wit
; File "", line 1, in ?
> ImportError: No module named numpy
You need to set PYTHONPATH to point at your site-packages dir. So in your case
it should be something like:
~/lib/python2.X/site-packages
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
ppc (can't load from it)
NOT having any experience on Macs, but doesn't the above error message
suggest that your netCDF library has been build for a i386 instead of
a ppc? Could that be the problem? Can you run the ncdump and ncgen
executables from the same netCDF distribution?
On Tue, April 24, 2007 23:31, Christian Marquardt wrote:
> On Tue, April 24, 2007 23:08, Robert Kern wrote:
>> Christian Marquardt wrote:
>>> Restore the invariant, and follow python.
>>>
>>> This
>>>
>>>>>> -5 // 6
&g
On Tue, April 24, 2007 23:08, Robert Kern wrote:
> Christian Marquardt wrote:
>> Restore the invariant, and follow python.
>>
>> This
>>
>>>>> -5 // 6
>>-1
>>
>> and
>>
>>>>> array([-5])[0] // 6
>&g
Restore the invariant, and follow python.
This
>>> -5 // 6
-1
and
>>> array([-5])[0] // 6
0
simply doesn't make sense - in any language, you would expect that
all basic operators provide you with the same same answer when
applied to the same number, no?
Hmmm,
On Mon, April 23, 2007 22:29, Christian Marquardt wrote:
> Actually,
>
> it happens for normal integers as well:
>
>>>> n = np.array([-5, -100, -150])
>>>> n // 100
>array([ 0, -1, -1])
>>>> -5//100, -100//100, -150//
Actually,
it happens for normal integers as well:
>>> n = np.array([-5, -100, -150])
>>> n // 100
array([ 0, -1, -1])
>>> -5//100, -100//100, -150//100
(-1, -1, -2)
On Mon, April 23, 2007 22:20, Christian Marquardt wrote:
> Dear all,
>
> this i
ug in numpy, or in python's implementation of longs? I would
think both should give the same, really... (Python 2.5, numpy 1.0.3dev3725,
Linux, Intel compilers...)
Many thanks for any ideas / advice,
Christian
___
Numpy-discussion mailing list
N
On Mon, April 23, 2007 01:28, Charles R Harris wrote:
> Looks like a bug to me:
>
> In [5]: x = array([1],dtype=uint64)
>
> In [6]: type(x[0])
> Out[6]:
>
> In [7]: type(x[0]+1)
> Out[7]:
>
> Chuck
Yeah. Especially as it works apparently fine f
Hello,
The following is what I expected...
>>> y = 1234
>>> x = array([1], dtype = "uint64")
>>> print x + y, (x + y).dtype.type
[1235]
but is this the way it should be? (numpy 1.0.2, Linux, Intel comilers)
>>> print x[0] + y, t
Yes,
that worked - many thanks!
Christian.
On Thu, April 19, 2007 22:38, David M. Cooke wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Christian Marquardt wrote:
>> Dear David,
>>
>> the svn version of numpy does indeed build cleanly on AIX. M
commercial use.
Just a thought...
Christian.
On Wed, April 18, 2007 22:27, rex wrote:
> Andrew Straw <[EMAIL PROTECTED]> [2007-04-18 13:22]:
>> rex wrote:
>> > If your use is entirely non-commercial you can use Intel's MKL with
>> > built-in optimized BLAS a
for the C++
compiler might be overwritten? There are two or three C compiler related
python modules in numpy/distutils... Or would you think that this problem
is entirely unrelated to the distutils in numpy?
Many thanks,
Christian.
On Wed, April 18, 2007 17:20, David M. Cooke wrote
dification happens, so I've no idea where to try to fix it -
does anyone on this list know?
Many thanks,
Christian.
diff -r -C3 numpy-1.0.2.orig/numpy/distutils/fcompiler/ibm.py numpy-1.0.2/numpy/distutils/fcompiler/ibm.py
*** numpy-1.0.2.orig/numpy/distutils/fcompiler/ibm.py Fri Mar 2 20:52
this instead (not tested):
import numpy as N
data = open('name of file').readlines()
data = N.array([[float(x) for x in row.split(' ')[1:]] for row in data[1:]])
(the above expression should be one line)
Christian
___
Stefan van der Walt wrote:
> Hi Christiaan
>
> On Sun, Apr 15, 2007 at 02:03:49PM +0900, Christian K wrote:
>> could someone please provide example code for how to make a subclassed
>> ndarray
>> pickable? I don't quite understand the docs of ndarray.__reduce__.
&
-base, atlas3-sse and
atlas3-sse2-dev installed. Sorry for the noise.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Hi,
could someone please provide example code for how to make a subclassed ndarray
pickable? I don't quite understand the docs of ndarray.__reduce__.
My subclassed ndarray has just one additional attribute.
Thanks, Christian
___
Numpy-discu
Robert Kern wrote:
> Christian K wrote:
>> Hi,
>> I'm trying to build numpy from svn on ubuntu edgy with atlas provided by
>> ubuntu
>> package atlas3-sse2-dev which contains:
>>
>> /usr
>> /usr/lib
>> /usr/lib/sse2
>> /usr/li
Christian K wrote:
> Hi,
> I'm trying to build numpy from svn on ubuntu edgy with atlas provided by
> ubuntu
> package atlas3-sse2-dev which contains:
[...]
>
> I tried both with and without a site.cfg:
>
>
> [DEFAULT]
> library_dirs = /usr/lib
r/lib/sse2']
language = c
define_macros = [('ATLAS_WITHOUT_LAPACK', None)]
lapack_info:
libraries lapack not found in /usr/local/lib
libraries lapack not found in /usr/lib
NOT AVAILABLE
Confusingly lapack_atlas resides in /usr/lib but even though setup.py looks for
it in tha
Bill Baxter wrote:
> On 3/20/07, Christian K. <[EMAIL PROTECTED]> wrote:
>> Hi Bill,
>>
>> I just tried ezplot and encountered some problems:
>>
>> In [1]: import ezplot
>> In [2]: p = ezplot.Plotter()
>> In [3]: p.plot([1,2,3],[1,4,9],marker=
x with wxPython 2.6.3.3, twisted 2.4.
Any ideas how to solve that?
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Oops!
> a) Don't know; the last releases of pycdf and pyhdf are from February 2001
pycdf is from 2006, of course. Sorry!
Chris.
___
Numpy-discussion mailing list
Numpy-dis
On Fri, February 9, 2007 22:28, Christopher Barker wrote:
>> Andre Gosselin (the guy who wrote pycdf) also wrote an interface to HDF4
>> (not 5) named pyhdf.
>
> Is he still maintaining these packages? Have you submitted the patches
> to him?
a) Don't know; the last releases of pycdf and pyhdf are
X/lib) and header
files (in $PREFIX/include/hdf), so it it almost certainly needs to be
adapted to the location of the actual HDF libraries and headers.
Regards,
Christian.
On Fri, February 9, 2007 22:00, Christian Marquardt wrote:
> Dear list,
>
> attached is a patch for the original
e patch is only that large because it replicates much
of already existing code...
I have been using this "port" for many weeks now without any problems or
difficulties. I hope it's useful for others as well;-)
Christian.
On Fri, February 9, 2007 15:31, Daran L. Rife wrote:
&
Hi
Thanks for all your suggestions.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
1] = 0
> >> x.max()
> 0.999474999444 <- Beautiful! Look at all the tripple digits!
Works as expected with python2.4/numpy1.0
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Sven Schreiber gmx.net> writes:
> So I think what's needed is:
>
> b = array(yourlist)
> b.reshape(b.shape[0], -1)
Yes! That is it.
Thanks, Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projec
Christian Meesters uni-mainz.de> writes:
> Since searchsorted returns the index of the first item in a that is >= or >
> the key, it can't make the distinction between 0.1 and 0.2 as I would like to
Then how about a.searchsorted(
solution without using any 'if'.
However using the subclassed array class which was proposed by Stefan is pretty
elegant.
Thanks to everybody, Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
distinction between 0.1 and 0.2 as I would like to
have.
Hope this clarifies my question.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
within a different function. But it
should help clarify the problem.
TIA
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
1 - 100 of 107 matches
Mail list logo