Configuration Guide🔗
This page explains how to configure your project.
Overview🔗
Configuration is handled through YAML files. Each file has two top-level
sections: deployment and modules.
Deployment Section🔗
The deployment section describes the deployment type and global settings.
deployment:
type: "continuous" # deployment type (continuous is the default)
rate: 0.25 # clock tick interval in seconds
Modules Section🔗
The modules section defines all nodes in the processing graph. Each module
has these common fields:
Field |
Type |
Description |
|---|---|---|
|
string |
Name used to identify the module in the graph |
|
string |
Module class identifier, e.g. |
|
string |
Topic that the module publishes its outputs to |
|
list[string] |
Topics the module subscribes to for input data. The special topic
|
|
any |
Optional arguments passed to the module observer |
|
dict |
Module-specific configuration (see interface, transformer, and model docs for details) |
Module-specific Configuration🔗
Interface modules🔗
Each interface type has its own config block. Refer to the
Interfaces Guide guide for details on:
p4p/p4p_server— EPICS PVA variables withproto,name,type,defaultfieldsk2eg— Kafka-to-EPICS gateway variablesfastapi_server— REST API withhost,port,start_server,input_queue_max,output_queue_max,cors_origins, and typedvariables(withmode,type,default,length,image_sizefields)
Transformer modules🔗
See the Transformers Guide guide for SimpleTransformer,
CAImageTransformer, CompoundTransformer, and
PassThroughTransformer configuration.
Model modules🔗
Model config specifies a type (e.g. LocalModelGetter,
MLflowModelGetter) and args for the model getter class. See the
README for full examples.