So,
In [14]: x = zeros((2,3,4))
In [15]: rollaxis(x,0,3).shape
Out[15]: (3, 4, 2)
In [16]: rollaxis(x,0,2).shape
Out[16]: (3, 2, 4)
In [17]: rollaxis(x,0,1).shape
Out[17]: (2, 3, 4)
In [18]: rollaxis(x,0,0).shape
Out[18]: (2, 3, 4)
How come rollaxis(x,0,0) doesn't move 2 to the end ;) That's
On Sat, Jul 17, 2010 at 17:06, Charles R Harris
wrote:
> At the moment... Chuck
I can svn up at the moment.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying tr
Sat, 17 Jul 2010 16:06:40 -0600, Charles R Harris wrote:
> At the moment... Chuck
Worksforme at the moment.
Pauli
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
At the moment... Chuck
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
2010/7/17 Robert Kern :
> On Sat, Jul 17, 2010 at 13:11, Friedrich Romstedt
> wrote:
>> 2010/7/14 Ionut Sandric :
>> I'm afraid also Zach does not understand what you are talking about
>> ... So my first question (please bear with me) would be: What's a dem?
>
> Digital Elevation Map.
>
>> (n/a i
On Sat, Jul 17, 2010 at 1:47 PM, Pauli Virtanen wrote:
> Sat, 17 Jul 2010 13:11:46 -0600, Vincent Davis wrote:
>> I have not seen anything about the move to github and how this effects
>> pydocweb or did I just miss it. I am willing to adapt pydocweb to work
>> with github but not sure what the de
Sat, 17 Jul 2010 13:11:46 -0600, Vincent Davis wrote:
> I have not seen anything about the move to github and how this effects
> pydocweb or did I just miss it. I am willing to adapt pydocweb to work
> with github but not sure what the desired integration would be. This
> should not be to difficult
On Sat, Jul 17, 2010 at 13:11, Friedrich Romstedt
wrote:
> 2010/7/14 Ionut Sandric :
>> By raster data I mean classified slope gradient (derived from a dem),
>> landuse-landcover, lithology etc. A crosstabulation analysis will give me a
>> table with the common areas for each class from each ras
I have not seen anything about the move to github and how this effects
pydocweb or did I just miss it. I am willing to adapt pydocweb to work
with github but not sure what the desired integration would be. This
should not be to difficult but should/needs to be part of the plan and
documented.
My in
On Sat, Jul 17, 2010 at 12:32 PM, Pauli Virtanen wrote:
> Dear all,
>
> Based on patches contributed by Christoph Gohlke, I've created a branch
> for 1.5.x:
>
>http://svn.scipy.org/svn/numpy/branches/1.5.x
>
> It should be
>
> a) Binary compatible with Numpy 1.4 on Python 2.x.
>
> Th
Dear all,
Based on patches contributed by Christoph Gohlke, I've created a branch
for 1.5.x:
http://svn.scipy.org/svn/numpy/branches/1.5.x
It should be
a) Binary compatible with Numpy 1.4 on Python 2.x.
This meant rolling back the datetime and a couple other changes.
b) Supp
2010/7/14 Ionut Sandric :
> By raster data I mean classified slope gradient (derived from a dem),
> landuse-landcover, lithology etc. A crosstabulation analysis will give me a
> table with the common areas for each class from each raster and this will go
> into other analysis. I can do it with o
2010/7/14 Ionut Sandric :
> I have two raster data and I would like to do a crosstabulation between them
> and export the results to a table in a text file. Is it possible to do it
> with NumPy? Does someone have an example?
Am I understanding you correctly when I suppose you mean what is
explai
2010/7/14 John Reid :
> That sounds useful but I should have said: sometimes I need to replace
> other values that aren't NaNs.
Sorry, for the double dumb recommendation of nan_to_num, but when
replacing other normal values mabe you can use:
>>> a = numpy.asarray(1)
>>> b = numpy.asarray([10, 1])
2010/7/13 John Reid :
> Hi,
>
> I have some arrays of various shapes in which I need to set any NaNs to
> 0.
I just ran across numpy.nan_to_num():
>>> a = numpy.log(-1)
>>> b = numpy.log([-1, 1])
>>> a
nan
>>> b
array([ NaN, 0.])
>>> numpy.nan_to_num(a)
0.0
>>> numpy.nan_to_num(b)
array([ 0.,
On Sat, Jul 17, 2010 at 8:51 AM, Pauli Virtanen wrote:
> Wed, 30 Jun 2010 12:13:38 -0600, Charles R Harris wrote:
> [clip]
> >> > Grrr... I didn't see the point, myself, I'm tempted to deprecate 2.7
> >> > just
> >> to
> >> > get even. There are some routines in the numpy/core/src includes that
>
Wed, 30 Jun 2010 12:13:38 -0600, Charles R Harris wrote:
[clip]
>> > Grrr... I didn't see the point, myself, I'm tempted to deprecate 2.7
>> > just
>> to
>> > get even. There are some routines in the numpy/core/src includes that
>> > you might want to copy, they will allow you to use a common inter
On Sun, Jun 20, 2010 at 2:43 PM, Benjamin Root wrote:
> Hi, I was just digging through the fromnumeric.py code when I noticed that
> the function _wrapit used asarray() rather than asanyarray(). I don't know
> if this function really gets used anymore (as it gets called in special
> situations),
18 matches
Mail list logo