该工具用于计算光在介质界面处的菲涅尔反射和透射系数。
公式(入射角 θ0,折射角 θ1,入介质折射率 n1,出介质折射率 n0):
$$n_0 \sin \theta_0 = n_1 \sin \theta_1$$
$$R_s = \frac{\sin^2(\theta_0 - \theta_1)}{\sin^2(\theta_0 + \theta_1)}, \quad R_p = \frac{\tan^2(\theta_0 - \theta_1)}{\tan^2(\theta_0 + \theta_1)}$$
$$T_s = 1 - R_s, \quad T_p = 1 - R_p$$