sarkit.cphd.XyzPolyType

class XyzPolyType(child_ns='')

Transcoder for XYZ_POLY XML parameter types containing triplets of 1D polynomials.

Parameters:
child_nsstr, optional

Namespace to use for child elements. Parent namespace used if unspecified.

Methods

make_elem(tag, val)

Create a new XML element.

parse_elem(elem)

Returns an array of coefficients describing the polynomials encoded in elem.

set_elem(elem, val)

Set elem node using the polynomial coefficients from val.