Trap induced slow photoresponse of single CdS nanoribbons