public class MerweUnscentedTransform extends AbstractUnscentedTransform
The unscented transform uses three parameters: alpha, beta and kappa. Alpha determines the spread of the sigma points around the process state, kappa is a secondary scaling parameter, and beta is used to incorporate prior knowledge of the distribution of the process state.
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_ALPHA
Default value for alpha (0.5, see reference).
|
static double |
DEFAULT_BETA
Default value for beta (2.0, see reference).
|
static double |
DEFAULT_KAPPA
Default value for kappa, (0.0, see reference).
|
Constructor and Description |
---|
MerweUnscentedTransform(int stateDim)
Default constructor.
|
MerweUnscentedTransform(int stateDim,
double alpha,
double beta,
double kappa)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
getMultiplicationFactor()
Get the factor applied to the covariance matrix during the unscented transform.
|
RealVector |
getWc()
Get the covariance weights.
|
RealVector |
getWm()
Get the mean weights.
|
unscentedTransform
public static final double DEFAULT_ALPHA
public static final double DEFAULT_BETA
public static final double DEFAULT_KAPPA
public MerweUnscentedTransform(int stateDim)
This constructor uses default values for alpha, beta, and kappa.
stateDim
- the dimension of the stateDEFAULT_ALPHA
,
DEFAULT_BETA
,
DEFAULT_KAPPA
,
MerweUnscentedTransform(int, double, double, double)
public MerweUnscentedTransform(int stateDim, double alpha, double beta, double kappa)
stateDim
- the dimension of the statealpha
- scaling control parameter
(determines the spread of the sigma points around the process state)beta
- free parameter
(used to incorporate prior knowledge of the distribution of the process state)kappa
- secondary scaling factor
(usually set to 0.0)public RealVector getWc()
public RealVector getWm()
protected double getMultiplicationFactor()
getMultiplicationFactor
in class AbstractUnscentedTransform
Copyright © 2016-2022 CS GROUP. All rights reserved.