Photodetector based on materials like SnSe shows the more photocurrent and slow response in air. In vacuum, photocurrent reduces but response becomes fast. While doped SnSe based Photodetector behave complety opposite. Does this depend on type of doping ( n- type or p-type).