Thermal Engineering of Electron-Trapping materials for “Smart-Write-In” Optical Data Storage