Investigation of first and second ionization on optical properties of atmospheric plasmas