Measurements and analysis of spatial profiles of 777.4 nm line in a townsend discharge in oxygen