tidy3d.constants.GLANCING_CUTOFF# GLANCING_CUTOFF# if |np.pi/2 - angle_theta| < GLANCING_CUTOFF in an angled source or in mode spec, raise warning.