poly_lithic.src.transformers.BaseTransformers module🔗

class poly_lithic.src.transformers.BaseTransformers.SimpleTransformer(config)[source]🔗

Bases: BaseTransformer

handler(pv_name, value)[source]🔗

Handler function to handle the input data, in most cases it initiates the transform function when all the input data is available. Handler is the only function exposed to the main loop of the program aside from initial configuration.

transform()[source]🔗

Call transform function to transform the input data, see SimpleTransformer in model_manager/src/transformers/BaseTransformers.py for an example.

class poly_lithic.src.transformers.BaseTransformers.CAImageTransfomer(config)[source]🔗

Bases: BaseTransformer

Input only image transformation

handler(variable_name, value)[source]🔗

Handler function to handle the input data, in most cases it initiates the transform function when all the input data is available. Handler is the only function exposed to the main loop of the program aside from initial configuration.

Parameters:
  • variable_name (str)

  • value (dict)

transform()[source]🔗

Call transform function to transform the input data, see SimpleTransformer in model_manager/src/transformers/BaseTransformers.py for an example.

class poly_lithic.src.transformers.BaseTransformers.PassThroughTransformer(config)[source]🔗

Bases: BaseTransformer

handler(pv_name, value)[source]🔗

Handler function to handle the input data, in most cases it initiates the transform function when all the input data is available. Handler is the only function exposed to the main loop of the program aside from initial configuration.

transform()[source]🔗

Call transform function to transform the input data, see SimpleTransformer in model_manager/src/transformers/BaseTransformers.py for an example.