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

Reply via email to