Refraction losses in terahertz computed tomography