Spatio-temporal and vectorial analysis of the electric field vector with an optical sensor