Measuring charge carrier lifetime in solar cells using pulsed diode laser and terahertz spectroscopy