Hidden semi-Markov models with inhomogeneous state dwell-time distributions | Synapse