This code simulates etalon effects in THz systems caused by samples