dash.stateVectorVariable.info

Return information about a stateVectorVariable


Syntax



Description

info = obj.info

Returns a struct that organizes information for a stateVectorVariable object. Includes information on the variable’s state vector length, and design parameters for each dimension.


Output Arguments

info

scalar struct
A struct with information about the stateVectorVariable object. Includes the fields:

.length (scalar integer): The number of state vector elements for the variable

.dimension_names (string vector): The names of the dimensions in the variable

.state_dimensions (string vector): The names of the state dimensions for the variable

.ensemble_dimensions (string vector): The names of the ensemble dimensions for the variable

.dimensions (struct vector): Organizes design parameters for the variable’s dimensions. Has one element per dimension. Fields include the following: .name (string scalar): The name of the dimension .length (scalar integer): The number of state vector elements associated with the dimension .type (string scalar): Whether the dimension is a state or an ensemble dimension .state_indices (vector, linear indices): The state indices for the dimension. Empty if an ensemble dimension. .reference_indices (vector, linear indices): The reference indices for the dimension. Empty if a state dimension. .sequence (scalar struct | []): Sequence design parameters. Empty if not using a sequence. If using a sequence, a scalar struct with fields: .indices (vector, integers): The sequence indices .metadata (metadata matrix): Sequence metadata .metadata (scalar struct): Metadata options .type (string scalar): raw, alternate, or convert .values (metadata matrix): Alternate metadata values. Only includes this field when using alternate metadata. .function (scalar function handle): The conversion function. Only includes this field when using a conversion function. .args (cell row vector): Additional arguments for the conversion function. Only includes this field when using a conversion function with additional arguments. .mean (scalar struct): Mean design parameters .type (string scalar): none, standard, or weighted .nanflag (string scalar): “omitnan” or “includenan”. Only includes this field when taking a mean. .indices (vector, integers): Mean indices for ensemble dimensions. Only includes this field when taking a mean over an ensemble dimension. .weights (numeric vector): Weights for a weighted mean. Only includes this field when taking a weighted mean. .total (scalar struct): Sum total parameters .type (string scalar): none, standard, or weighted .nanflag (string scalar): “omitnan” or “includenan”. Only includes this field when taking a total. .indices (vector, integers): Total indices for ensemble dimensions. Only includes this field when taking a total over an ensemble dimension .weights (numeric vector): Weights for a weighted sum. Only includes this field when taking a weighted total