The effect of temperature on photoinduced metastability in avalanche a-Se layers