Am 11.10.2021 um 12:23 schrieb Riccardo (Jack) Lucchetti:
On Sun, 10 Oct 2021, Sven Schreiber wrote:
> Are there other possible reserved Kalman keys which do not show up in
> this particular example, or is this it?
From lib/src/kalman.c:
<C>
struct K_input_mat K_input_mats[] = {
{ K_y, "obsy" },
...
OK, thanks, but...
(BTW, two lines above there's the slightly outdated comment /* mapping
to names used in "kalman ... end kalman" block */, given that AFAIK
there's no kalman block anymore.)
... those are just the input matrices, not all reserved names. However,
poking around some more in lib/src/kalman.c, I also see the following:
<c>
static const char *kalman_output_matrix_names[K_N_OUTPUTS] = {
"prederr",
"pevar",
"state",
"stvar",
"gain",
"llt",
"smdist",
"smdisterr",
"uhat"
};
</c>
and:
<c>
static const char *kalman_output_scalar_names[K_N_SCALARS] = {
"t",
"diffuse",
"cross",
"s2",
"lnl",
"r",
"n",
"T",
"p"
};
</c>
This covers matrices and scalars. Plus, I know from the documentation
that another reserved key is "timevar_call".
So I'm asking again, is this all? Or some other reserved keys in the
Kalman bundle for other types?
thanks
sven