When we diagonalise a matrix, we write it in terms of a diagonal matrix $S$ which contains all of the eigenvalues of the matrix, a matrix $P$ which contains all of the corresponding eigenvectors of $A$, and $P^{-1}$.
$$A=P^{-1}SP$$
However, when we have an eigendecomposition, we also represent a matrix $B$ in terms a diagonal matrix $\Lambda$ which contains all of the eigenvalues of $B$, a matrix $Q$ (which I think is the eigenbasis) and $Q^T$.
$$B=Q^T \Lambda Q$$
What's the difference between the two?