Fix #27 by adding a regulate function.
This is based on the principle that the "time" dimension should always exists for a Space-Time Matrix.
Suppose stmat is an STM instance with missing time dimension, now one can call .regulate_dims to expand time dimension for it. After calling, the subset function should be allowed:
# First regulate
stmat_regulated = stmat.regulate_dims()
# Then subset
stmat_subset = stmat_regulated.subest(...)
Fix #27 by adding a regulate function. This is based on the principle that the "time" dimension should always exists for a Space-Time Matrix.
Suppose
stmat
is an STM instance with missing time dimension, now one can call.regulate_dims
to expand time dimension for it. After calling, thesubset
function should be allowed: