Electromagnetic properties of compressed gases