Transmitter and receiver antenna gain analysis for laser radar and communication systems