In order to measure the strength stratification (density gradient), it is easiest to take a sample of each layer and measure the concentration of salt. In both the internal gravity wave and quasi-biannual oscillation experiments, we measured the density of last of the salt solution in the mixing tank, and calculated the average density gradient from that.
However, in order to determine the distribution of stratification strength in certain specific locations, you have to compare the difference in specific gravity of nearby layers. What we did then was to shine a laser horizontally into the stratified fluid, and calculate the distribution of density with the angle of refraction of the laser beam. It is difficult using this technique to get an accurate absolute figure for the density gradient, but it makes it easy to get an idea of the relative distribution over a wide area without direct contact with the working fluid.
When actually measuring, it is necessary to have a standard beam for comparison, so in the experiment, we used a cylindrical lens (or glass rod) to get a sheet of light, and then placed one mirror in front of, and one behind the water tank, and measured the difference in angle of the light reflected back off the two mirrors.