Classification of gait patterns in spastic hemiplegia and spastic diplegia: a basis for a management algorithm | Synapse