GaAs detector optimization for different medical imaging applications