Atomistic study of electronic structure of PbSe nanowires