This is an old revision of the document!
With the optics features of nextnano++, the optical absorption spectrum can be calculated for various polarization directions.
The transition matrix element $H_{ab}(k)$ is plotted in the function of $\vec{k}$ for a 1D structure in figure 1