[][src]Module arnalisa::bins

Bins (building blocks) for arnalisa.

Modules

add

A bin that adds two values.

blocker

A bin that outputs the input value whenever the trigger is a value that is neither 0 nor false.

calibration

A bin that performs a multi-point calibration on an input value.

cborsink

A bin that writes it's input values to a writer in CBOR format.

channelsink

A sink-only that passes it's input on to a crossbeam channel.

cosinus

A bin that calculates the cosinus of a value (in radians).

cumulation

A bin that cumulates all iterations of the input value.

derivation

A bin that calculates the derivation of an input value.

directsource

A bin that produces a fixed set of value rows.

divide

A bin that divides a by b. If a or b is Nothing, or b is 0, then the output will be Nothing.

fifo

A bin that stores values in a fifo and calculates some facts about them.

first_value

A bin that keeps the first non-Nothing value in the output.

fixedvalues

A bin that produces the same fixed set of values for all rows.

greater_than

A bin that checks if a is greater than b.

invert

A bin that inverts it's input.

jsonlsink

A bin that writes it's input values to a writer in JSONL format.

jsonlsource

A bin that reads it's output values from a JSONL file.

last_calm_point

A bin that calculates the last calm point of a curve. The calm point means that the y input value has not changed by more than y_max_delta since this point.

linear_regression

A bin that calculates a linear regression.

maximum

A bin that calculates the maximum of all inputs.

mean

A bin that calculates the mean value of all inputs.

minimum

A bin that calculates the minimum of all inputs.

multiplex

A bin that propagates the input value to a selected output.

multiply

A bin that multiplies two values.

not

A bin that logically negates the input.

passthrough

A bin that passes through all input values.

pipeline

A bin contains a set of nested bins inside.

single_not_null

A bin outputs the only input value which is not Nothing.

sinus

A bin that calculates the sinus of a value (in radians).

storage

A bin that stores the input value whenever the trigger is a value that is neither 0 nor false.

subtract

A bin that subtracts two values.

verificationsink

A bin that verifies whether the input rows match expected values.

xiosource

A bin that outputs the values of a XIO job run.

Structs

DataSource

A source for data items.

Iteration

An iteration in a calculation series.

SinkOnlyBinProcessor

A processor for a sink-only bin.

SourceId

The identifier of a source.

SourceOnlyBinProcessor

A processor for a source-only bin.

SourceReference

A reference to a source.

SourceSinkBinProcessor

A processor for a source-sink bin.

Enums

Description

A description of any bin.

SinkOnlyDescription

Description of a sink-only bin.

SourceOnlyDescription

Description of a source-only bin.

SourceSinkDescription

Description of a source-sink bin.

Traits

BinBuildEnvironment

An environment for resolving data sources and calibration.

BinDescription

A trait for descriptions of bins.

Calculator

A calculator trait for bins.

FetchItem

A trait for fetching an item from a scope.

SinkBin

A trait for a bin which can take data through sinks.

SinkBinDescription

A trait for descriptions of sink bins.

SinkNames

A trait providing sink names as an index set.

SinkOnlyBin

A trait for a bin which only has sinks, but no sources.

SinkOnlyBinDescription

A trait for descriptions of sink-only bins.

SourceBin

A trait for a bin which provides output data.

SourceBinDescription

A trait for descriptions of source bins.

SourceNames

A trait providing source names as an index set.

SourceOnlyBin

A trait for a bin which only has sources, but no sinks.

SourceOnlyBinDescription

A trait for descriptions of source-only bins.

SourceSinkBin

A trait for a bin which has sources and sinks.

SourceSinkBinDescription

A trait for descriptions of source-sink bins.

WriteDot

A trait for writing dot (graphviz) description of a bin.

WriteDotSimple

A trait for writing a simple dot (graphviz) description of a bin.