Ab initio calculations on the X (1)A(') and A (1)A(") states of HPO and Franck-Condon simulation of the single vibronic level emission spectra of HPO and DPO.