Generation of Spectrally Shaped Terahertz Waves under Femtosecondor and Nanosecond-Pulsed Optical Pumpingстатья