Text this: The design of optical waveguide sensor based on surface plasmon resonance