Calculation of the vertical electronic spectrum of propane