It would be very useful fulfill to implement post-processing steps, including time conversation and things like converting digital values to analog using known calibration curves. For instance, sometimes temperature will be sent down from a spacecraft as a 0-255 digital value, and you have some linear function y=mx+b from pre-launch engineering that converts the digital value to degrees Celsius. Another common use case is replacing integer values with string values, such as replacing 0 with "DISABLED", 1 with "ENABLED", and 2 with "STANDBY".
Handling a 48-bit time field split between 32-bit coarse time and 16 bit fine time could be handled like this. The result in the dictionary returned by pkt.load() would be an array of datetimes.
It would be very useful fulfill to implement post-processing steps, including time conversation and things like converting digital values to analog using known calibration curves. For instance, sometimes temperature will be sent down from a spacecraft as a 0-255 digital value, and you have some linear function y=mx+b from pre-launch engineering that converts the digital value to degrees Celsius. Another common use case is replacing integer values with string values, such as replacing 0 with "DISABLED", 1 with "ENABLED", and 2 with "STANDBY".
Handling a 48-bit time field split between 32-bit coarse time and 16 bit fine time could be handled like this. The result in the dictionary returned by
pkt.load()
would be an array of datetimes.Calibration curves could be handled like this (having both
PolyConverter
andLinearConverterer
is redundant, but reads better).