Performance evaluation of coherent and direct detection in 10 Gbps optical communication system under different fiber lengths, channel spacing, and EDFA gain | Synapse