Optical Diagnostics for Non-Ideal Compressible Fluid Dynamics