[GRASS-user] wx.class
Michael Barton
Michael.Barton at asu.edu
Wed Sep 8 21:32:54 EDT 2010
Thanks. I look forward to trying it.
The wx.lib.plot class does a nice job of drawing graphs and could do a histogram as a line plot. It is included with wx.Python and does not require another dependency. Take a look at profile.py for its use in the profiling module.
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Sep 8, 2010, at 6:01 PM, <grass-user-request at lists.osgeo.org> wrote:
> Date: Thu, 9 Sep 2010 03:04:49 +0530
> From: Mohammed Rashad <mohammedrashadkm at gmail.com>
> Subject: [GRASS-user] wx.class
> To: grass-dev at lists.osgeo.org, grass-windows at lists.osgeo.org
> Cc: grass-user at lists.osgeo.org
> Message-ID:
> <AANLkTimvj=bX1ZC0vw4TOH70NtsVHvP-pwJH5Q9PuNJP at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> I had just created a wx version of i.class module which generates
> spectral signatures for an image by allowing the user to outline regions of
> interest. The resulting signature file can be used as input for i.maxlik or
> as a seed signature file for i.cluster.
>
> Actual i.class module requires Xterm and work only in systems having Xserver
> installed. I created python version of i.class which works on all platform.
> Now windows users can use i.class module.
>
> Currently development is in beta stage. wx.class is tested and works only
> for NC dataset available from grassbook.org site.
> It uses wxpython paintDC to draw histograms which must be changed to use
> python-matplotlib for drawing smooth histograms as the output needed to be.
>
> I dont want to add a new dependency to grass as other developers but I am
> forced to do :(
>
> current wx.class doesn't need any other dependencies. The needs some cleanup
> but as I am busy with some other works related to GRASS I don't have much
> time to spend on cleaning up the code. But within a month or to you can have
> the fully functional wx.class.
>
> Now I am hosting to GRASS-Addons repo because the code needs
> testing...(although needs some cleanup)
>
> A README is included with source which shows how to use the module. But
> wx.class is made to be user-friendly.
>
>
> Any comments or suggestions are really welcomed :)
>
>
> --
> Rashad
> --------------
More information about the grass-user
mailing list