A computational approach of optical absorption in semiconductor quantum dot superlattices