Lets work in units of
Define the frequency of the electronic transition:
The unitless displacement of the two harmonic wells is:
Define thermal occupation factor
Set up frequency grid:
Absorption lineshape:
Envelope of vibronic progression:
Plot lineshapes for low, mid and high temperatures.