terms_per_plot_level

pyoptex.doe.fixed_structure.splitk_plot.utils.terms_per_plot_level(factors, model)[source]

Computes the amount of coefficients to be estimated per plot level.

Parameters

factorslist(Factor)

The factors of the design.

modelpd.DataFrame

The model dataframe

Returns

nb_terms_per_levelnp.array(1d)

The number of terms for each plot level. E.g., element zero is the numbe of terms for the easy-to-change degrees of freedom.