Text this: Construction of a spectroscopic terahertz time-domain ellipsometer