ait.dsn.bch.bch_plugin package

A plugin which applies BCH codes to incoming data and publishes the result.

class ait.dsn.bch.bch_plugin.BCHPlugin(inputs=None, outputs=None, zmq_args=None)

Bases: Plugin

Applies BCH codes (per the CCSDS spec) to incoming data and publishes the result.

The input will normally be TC frames (either with or without SDLS). The output will be the same TC frames, but with additional BCH code block bytes.

process(input_data, topic=None)

Not implemented by base Plugin class. This process method must be implemented by any custom plugin class that inherits from this base Plugin.

Params:

input_data: Message received from any of the plugin’s input streams. topic: Name of stream that message was received from.