dash.ensembleFilter.estimates
Process the estimates for a filter object
Syntax
Description
Processes options for estimates for a filter. Returns the outputs for the operations collected in a cell. Also returns a string indicate the type of operation performed.
Returns the current estimates and whichPrior.
Error checks the input estimates and whichPrior and overwrites any previously existing estimates. Returns the updated filter object.
[objCell, ‘delete’] = obj.estimates(‘delete’)
Deletes any current estimates and returns the updated filter object.
Input Arguments
header
string scalar
Header for thrown error IDs
Ye
numeric array [nSite x nMembers x nPrior]
Estimates for the filter
whichPrior
vector, linear indices [nTime]
Indicates which prior (set of estimates) to use in each time step.
Output Arguments
outputs
cell scalar
Varargout-style outputs
type
‘return’|’set’|’delete’
Indicates the type of operation
estCell
cell vector [2] {Y, whichPrior}
The current estimates and whichPrior in a cell
objCell
cell scalar {obj}
The updated object in a cell