Terahertz Sensor via Ultralow-Loss Dispersion-Flattened Polymer Optical Fiber: Design and Analysis