transform

package
v0.0.0-...-665db2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoiseConfig

type NoiseConfig struct {
	Coeff  float64 `mirror:"coeff"`
	MinVal float64 `mirror:"min"`
	MaxVal float64 `mirror:"max"`
}

type NoiseTransform

type NoiseTransform struct {
	In  chan types.DataPoint
	Out chan types.DataPoint
	// contains filtered or unexported fields
}

func NewNoiseTrans

func NewNoiseTrans(ntc NoiseConfig) *NoiseTransform

func (*NoiseTransform) GetIn

func (n *NoiseTransform) GetIn() chan types.DataPoint

func (*NoiseTransform) GetOut

func (n *NoiseTransform) GetOut() chan types.DataPoint

func (*NoiseTransform) SetIn

func (n *NoiseTransform) SetIn(in chan types.DataPoint)

func (*NoiseTransform) SetOut

func (n *NoiseTransform) SetOut(o chan types.DataPoint)

func (*NoiseTransform) Start

func (n *NoiseTransform) Start()

func (*NoiseTransform) Stop

func (n *NoiseTransform) Stop()

type Transform

type Transform interface {
	Start()
	Stop()
	SetIn(chan types.DataPoint)
	SetOut(chan types.DataPoint)
	GetIn() chan types.DataPoint
	GetOut() chan types.DataPoint
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL