Optical design, Nanophotonics, Receiver, Design method