Describir: Transformation of the head-direction signal into a spatial code