Backbone torsional potential functions for rotations about N--Calpha and Calpha--C bonds in dipeptide model systems in relation to nuclear magnetic resonance and infra red spectral data.