2010/7/20 Vincent Schut :
> slope_bin_edges = [0, 3, 15, 35]
> landuse_bin_edges = [0, 1, 2, 3]
> crosstab = numpy.histogram2d(landuse, slope, bins=(landuse_bin_edges,
> slope_bin_edges))
I like it! I guess the actual bins are [0, 3), [3, 15) and [15, 35)?
>From the docs, that is not so clear. E
On 07/19/2010 10:14 PM, Friedrich Romstedt wrote:
> 2010/7/19 sandric ionut:
>> For land-use a class would be for example forest, other would be orchard
>> etc. For Slope gradient I would have values which<3 and between 3 and 7
>> etc. So, I will have 2 raster data with, let's say, 3 classes each
2010/7/19 sandric ionut :
> For land-use a class would be for example forest, other would be orchard
> etc. For Slope gradient I would have values which <3 and between 3 and 7
> etc. So, I will have 2 raster data with, let's say, 3 classes each: forest,
> orchards and built-up area and for slope gr
us" yale.edu>
> To: "Discussion of Numerical Python" scipy.org>
> Sent: Wednesday, July 14, 2010 9:42:49 PM GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
> Subject: Re: [Numpy-discussion] Crosstabulation
>
> Hi Ionut,
>
> Check out the "tabular" pac
Thank you Vincent:
I will try with histogram
Ionut
- Original Message -
From: "Vincent Schut"
To: numpy-discussion@scipy.org
Sent: Monday, July 19, 2010 12:00:38 PM GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: [Numpy-discussion] Crosstabulation
On 07/19/
s,
Vincent Schut.
>
> ----
> *From:* Friedrich Romstedt
> *To:* Discussion of Numerical Python
> *Sent:* Sun, July 18, 2010 12:09:04 AM
> *Subject:* Re: [Numpy-discussion] Crosstabulation
>
> 2010/7/17 Robert Ker
___
From: Friedrich Romstedt
To: Discussion of Numerical Python
Sent: Sun, July 18, 2010 12:09:04 AM
Subject: Re: [Numpy-discussion] Crosstabulation
2010/7/17 Robert Kern :
> On Sat, Jul 17, 2010 at 13:11, Friedrich Romstedt
> wrote:
>> 2010/7/14 Ionut Sandric :
>> I'm afrai
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 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
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
Athens, Beirut, Bucharest,
Istanbul
Subject: Re: [Numpy-discussion] Crosstabulation
Hi Ionut,
Check out the "tabular" package:
http://parsemydata.com/tabular/index.html
It seems to be basically what you want... it does "pivot tables" (aka
crosstabulation), it's bui
Hi Ionut,
Check out the "tabular" package:
http://parsemydata.com/tabular/index.html
It seems to be basically what you want... it does "pivot tables" (aka
crosstabulation), it's built on top of numpy, and has simple data IO
tools.
Also check out this discussion on "pivot tables" from the num
Sorry, the first email was sent before to finish it...
Hi:
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?
Thank you,
Ionut
_
13 matches
Mail list logo