How To Figure Compression Ratio

I was under the impression that the whistle device, at least the one used by NHRA, just confirmed displacement.
A pump is for displacement. A whistler is for compression ratio.