span style='color: rgb(51, 51, 51); font-family: helvetica, arial, sans-serif;
line-height: 19px; white-space: normal;'Hi Michael,/spanbr
Are you planning to use wxPlot for the scatterplot display? This provides a
consistent graphical interface with the other plotting modules.
currently
OK. I originally wanted to use matplotlib because it is a much richer
environment, but it was nixed by the dev team because it added a new
dependency. If we start using it, it will make numerous, powerful analytical
functions accessible.
Michael
C. Michael Barton
Director,
Hi Sören and Markus,
many thanks for big help. If I understand it correctly, the key, which will
solve my issue, is the multiprocessing module, which allows to define
region just in this process without affecting the others (as it is in the
modules). Thanks to that it will be possible to
Hi Štěpán,
On Sunday 07 Jul 2013 13:55:15 Štěpán Turek wrote:
many thanks for big help. If I understand it correctly, the key, which will
solve my issue, is the multiprocessing module, which allows to define
region just in this process without affecting the others (as it is in the
modules).
Hi,
yes, you can just run your command giving the right environment variables...
I have just one more question.
Will it work properly when I will call some function from C libraries:
Im my case it is something like this:
int I_ComputeScatts(struct Cell_head *region, struct scCats *
Hi,
2013/7/7 Štěpán Turek stepan.tu...@seznam.cz:
Hi,
yes, you can just run your command giving the right environment variables...
I have just one more question.
Will it work properly when I will call some function from C libraries:
Im my case it is something like this:
int
Hi,
[snip]
Be aware that you must use Python objects to transfer the data from
the child process to its parent process using a queue[5]. I think that
numpy array objects should work.
I just realized that you can use shared ctypes objects as well for
inter process communication[1].
[1]
Are you planning to use wxPlot for the scatterplot display? This provides a
consistent graphical interface with the other plotting modules.
Michael
C. Michael Barton
Director, Center for Social Dynamics Complexity
Professor of Anthropology, School of Human Evolution Social
Hi Hamish and Michael,
your questions are connected I will try to explain both.
The scatter plot tool backend is run in same process as wxGUI. If you select
some area in scatter plot, then data from numpy arrays are passed to the
backend (through ctypes), which describes selected areas in
Hi Michael,
Out of curiosity, why aren't you reusing and/or enhancing the existing
scatter plot python classes?
I will probably use some code when I will work on gui part of the scatter plot
tool.
Best
Stepan
___
grass-dev mailing list
On Sat, Jul 6, 2013 at 4:19 PM, Štěpán Turek stepan.tu...@seznam.cz wrote:
Hi Hamish and Michael,
your questions are connected I will try to explain both.
The scatter plot tool backend is run in same process as wxGUI. If you select
some area in scatter plot, then data from numpy arrays are
Hi Štěpán,
some notes to you implementation approach:
2013/7/6 Markus Metz markus.metz.gisw...@gmail.com
On Sat, Jul 6, 2013 at 4:19 PM, Štěpán Turek stepan.tu...@seznam.cz wrote:
Hi Hamish and Michael,
your questions are connected I will try to explain both.
The scatter plot tool
FWIW, r.stats respects any changes in computational region but I don't think
that r.out.bin does. r.stats also will calculate values from multiple rasters,
along with xy coordinates in one pass. These are a couple of the reasons I used
r.stat to collect data on rasters.
Michael
Michael wrote:
FWIW, r.stats respects any changes in computational region
but I don't think that r.out.bin does.
(actually r.out.bin does respect the current computational
region, it uses the standard library functions to read the
input raster map. if you look at the code it is not too
So I take it you are not using r.stats to generate the data to plot, but are
getting data directly accessing rasters via GRASS libraries?
Michael
__
C. Michael Barton
Director, Center for Social Dynamics Complexity
Professor of Anthropology, School of Human
Out of curiosity, why aren't you reusing and/or enhancing the existing scatter
plot python classes?
Michael
__
C. Michael Barton
Director, Center for Social Dynamics Complexity
Professor of Anthropology, School of Human Evolution Social Change
Arizona State
16 matches
Mail list logo