The refractive index measurement of seawater based on a displacement sensor | Synapse