Laser Pulse Driven Terahertz (Thz) Generation In Inhomogeneous Plasmas