ocssw
V2022
|
PolyConverter
Inheritance diagram for PolyConverter:
Collaboration diagram for PolyConverter:
Public Member Functions | |
def | __init__ (self, coeffs) |
def | convert (self, field_array) |
![]() | |
def | __init__ (self) |
Detailed Description
Post-processing conversion which applies calibration using a series of coefficients ordered from highest power to intercept.
Definition at line 57 of file converters.py.
Constructor & Destructor Documentation
◆ __init__()
def __init__ | ( | self, | |
coeffs | |||
) |
Instantiate a PolyConverter object Parameters ---------- coeffs : list of float Polynomial coefficients ordered from highest power to intercept.
Definition at line 62 of file converters.py.
Member Function Documentation
◆ convert()
def convert | ( | self, | |
field_array | |||
) |
Apply the polynomial conversion. Parameters ---------- field_array : NumPy array decoded packet field values, must have at least one dimension Returns ------- converted : NumPy array converted form of the decoded packet field values
Reimplemented from Converter.
Definition at line 72 of file converters.py.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/scripts/telemetry/ccsdspy/converters.py