Active bidirectional electrically-controlled terahertz device based on dimethyl sulfoxide-doped PEDOT:PSS.