Statistics for Optimization of photoproduction of NH3 from semiconductor based catalysts