Batch Least Squares
|Top Previous Next|
Below is a numbered list detailing the basic process of performing state estimation using a Batch Least Squares Estimator. For each step in the process, the options available in FreeFlyer script are listed, and a script example is given for each option.
For information on creating and configuring a BatchLeastSquaresOD object, see Setting up Batch Least Squares.
1.Load tracking data into the observation buffer
The BatchLeastSquaresOD object automatically sorts and loads all data from registered Tracking Data files within the Span constraints into the observation buffer. To initialize the BatchLeastSquaresOD object's Observations array with the observations from the registered Tracking Data files, use the LoadObservationData() method. For example:
Note: The LoadObservationData() method is optional; if it is not executed prior to calling the Iterate() method, then the Iterate() method will perform the same initialization functions.
To add observations that were defined in FreeFlyer script, the AddObservation() method can be used. For example:
2.Iterate the Batch
There are three options when iterating a Batch Least Squares OD object.
3.Inspect Solution Statistics
After the specified iterations have been performed, there are a few ways to examine the results.