Terahertz spoof surface plasmon sensing based on dielectric metagrating coupling