Self-consistent calculation of the starting pitch factor of TE modes in gyrotron cavities | Synapse