shows

package
Version: v0.0.0-...-6df0fc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hist2D

type Hist2D struct {
	FramePeriod time.Duration

	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Hist2D) AddSample

func (s *Hist2D) AddSample(vi interface{})

func (*Hist2D) Execute

func (s *Hist2D) Execute(cmd *message.Cmd) error

func (*Hist2D) Frame

func (s *Hist2D) Frame() (*message.Msg, uint64)

func (*Hist2D) InitPlot

func (s *Hist2D) InitPlot()

func (*Hist2D) UpdateFrame

func (s *Hist2D) UpdateFrame()

func (*Hist2D) UpdateFrameCount

func (s *Hist2D) UpdateFrameCount()

type Hist2DSample

type Hist2DSample struct {
	X, Y   float64
	Weight float64
}

type Projection

type Projection struct {
	Alpha            float64
	DisableAutorange bool
	DrawMagnitude    bool
	FramePeriod      time.Duration

	sync.RWMutex
	plot.Plot
	// contains filtered or unexported fields
}

func (*Projection) AddSample

func (s *Projection) AddSample(vi interface{})

func (*Projection) Execute

func (s *Projection) Execute(cmd *message.Cmd) error

func (*Projection) Frame

func (s *Projection) Frame() (*message.Msg, uint64)

func (*Projection) InitPlot

func (s *Projection) InitPlot()

func (*Projection) UpdateFrame

func (s *Projection) UpdateFrame()

func (*Projection) UpdateFrameCount

func (s *Projection) UpdateFrameCount()

type ProjectionSample

type ProjectionSample struct {
	Y        []float32
	LineName string
}

type RollXY

type RollXY struct {
	Alpha             float64
	DisableAutorange  bool
	Downsample        int
	DrawMagnitude     bool
	FramePeriod       time.Duration
	NSample           int
	Trigger           string
	TriggerFalling    bool
	TriggerLeadSample int
	TriggerLevel      float64

	sync.RWMutex
	plot.Plot
	// contains filtered or unexported fields
}

func (*RollXY) AddSample

func (s *RollXY) AddSample(vi interface{})

func (*RollXY) Execute

func (s *RollXY) Execute(cmd *message.Cmd) error

func (*RollXY) Frame

func (s *RollXY) Frame() (*message.Msg, uint64)

func (*RollXY) InitPlot

func (s *RollXY) InitPlot()

func (*RollXY) UpdateFrame

func (s *RollXY) UpdateFrame()

func (*RollXY) UpdateFrameCount

func (s *RollXY) UpdateFrameCount()

type RollXYSample

type RollXYSample struct {
	X, Y     float64
	LineName string
}

type Show

type Show interface {
	Frame() (*message.Msg, uint64)
	UpdateFrame()
	UpdateFrameCount()
	AddSample(interface{})
}

type XY

type XY struct {
	FramePeriod time.Duration
	NSample     int

	sync.RWMutex
	plot.Plot
	// contains filtered or unexported fields
}

func (*XY) AddSample

func (s *XY) AddSample(vi interface{})

func (*XY) Execute

func (s *XY) Execute(cmd *message.Cmd) error

func (*XY) Frame

func (s *XY) Frame() (*message.Msg, uint64)

func (*XY) InitPlot

func (s *XY) InitPlot()

func (*XY) UpdateFrame

func (s *XY) UpdateFrame()

func (*XY) UpdateFrameCount

func (s *XY) UpdateFrameCount()

type XYSample

type XYSample struct {
	X, Y     float64
	LineName string
}

Jump to

Keyboard shortcuts

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