kalman

package
v0.0.0-...-e228636 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

README

kalman GoDoc

Documentation

Overview

Package kalman provides implementations of the Kalman filtering algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKalman

func NewKalman(data *mults.MulTS) filters.Filter

NewKalman initializes the Kalman filter and returns the address of an object of Kalman struct

Types

type Kalman

type Kalman struct {
	// contains filtered or unexported fields
}

Kalman defines the structure of the Kalman filter

func (*Kalman) Filtering

func (obj *Kalman) Filtering() error

Filtering does the Kalman filtering

func (*Kalman) Init

func (obj *Kalman) Init() error

Init does the initialization basically it checks the parameters of the model

func (*Kalman) SetData

func (obj *Kalman) SetData(data *mults.MulTS)

SetData sets the observations

func (*Kalman) SetFrame

func (obj *Kalman) SetFrame(from, to int) error

SetFrame sets the from and to of the time series

func (*Kalman) SetPar

func (obj *Kalman) SetPar(name string, par []float64, dim0, dim1 int) error

SetPar sets the parameter matrices

func (*Kalman) Smoothing

func (obj *Kalman) Smoothing() error

Smoothing does the disturbance smoothing

Jump to

Keyboard shortcuts

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