Performs the necessary operations to reduce an MSM to a subset of the original states – effectively trimming those states out.
Parameters: | states_to_trim : ndarray, int OR list of ints
counts : matrix
assignments : ndarray, int (optional)
|
---|---|
Returns: | trimmed_counts : matrix
trimmed_assignments : ndarray (if assignments are provided)
|