Analytical model for GaAs pin diodes for a wide range of currents and temperatures