superposing optical signals in a photodetector