Hi Lennart,
thanks a lot. These were very helpful suggestions.

There is only one issue left, I cannot set the color range.
I tried to set the parameters:
    c.set_int32_by_name("/0/data/base/range-type", 1)
    c.set_double_by_name("/0/data/base/min", 0.0)
    c.set_double_by_name("/0/data/base/max", 5.0)
but this does not have an effect on the image. What could I do? Do I have to
update the image/container in some way?

Thanks in advance
Otto

On Tue, Sep 20, 2011 at 8:52 AM, Lennart Fricke <
[email protected]> wrote:

> Hello Otto,
> some of the functions are avaiable directly on the DataField.
> Have a look at the pygwy documentation:
> http://gwyddion.net/documentation/head/pygwy/gwy.DataField-class.html
>
> There are fit_poly, substract_poly, get_min and add.
>
> Moreover you can find the function names of process_funcs in the module
> browser.
>
> I didn't find functions manipulating the color range. But the range
> values and range type are stored in the container as /0/data/base/min,
> /0/data/base/max, /0/base/range-type. min,max are double values. range
> is an integer denoting the range-type.
>
> >From the header:
>
> typedef enum {
>    GWY_LAYER_BASIC_RANGE_FULL, // = 0
>    GWY_LAYER_BASIC_RANGE_FIXED, // = 1
>    GWY_LAYER_BASIC_RANGE_AUTO, // = 2
>    GWY_LAYER_BASIC_RANGE_ADAPT // = 3
> } GwyLayerBasicRangeType;
>
> I hope this helps a little
>
> Regards
> Lennart
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Gwyddion-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gwyddion-users
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to