Particle sizing measurements in pharmaceutical applications