Characterizing neural phase-space trajectories via Principal Louvain Clustering