PolyConverter

class ccsdspy.converters.PolyConverter(coeffs)[source]

Bases: Converter

Post-processing conversion which applies calibration using a series of coefficients ordered from highest power to intercept.

Instantiate a PolyConverter object

Parameters:
coeffslist of float

Polynomial coefficients ordered from highest power to intercept.

Methods Summary

convert(field_array)

Apply the polynomial conversion.

Methods Documentation

convert(field_array)[source]

Apply the polynomial conversion.

Parameters:
field_arrayNumPy array

decoded packet field values, must have at least one dimension

Returns:
convertedNumPy array

converted form of the decoded packet field values