Phase To Sequence Conversion