Skip to main content

Module params

Module params 

Source
Expand description

What an op is tuned with (standard §2.1, params).

Parameters are numbers, whole numbers, switches, text or one of a list, with a default and, for numbers, a range and a unit. The same description draws the Inspector’s controls, checks a pipeline’s values and fills in what a pipeline leaves out.

Structs§

ParamSpec
A parameter of an op: the Inspector draws a control for it.

Enums§

ParamKind
What kind of value a parameter takes.
ParamValue
A parameter’s value.

Functions§

check_params
Checks given against specs: every value fits, no name is unknown, and what is missing takes its default. Returns the full set, or every problem.