The method of calculating the vector antenna pattern based on the algebra of quaternions | Synapse