Cis-trans thermal isomerization rates of bound and doped azobenzenes in a series of polymers