Hi Everyone,
I would like to ask for help with an assignment that addresses the topics of polarization and absorption? I will try to introduce you to the problem at the beginning.

Unpolarized light at a small angle of incidence reaches the front surface of the cell (a 1mm window of MgF2), and then passes through a cell filled with absorption gas. During propagation, the gas absorbs 99% of the P-polarized light and transmits 100% of the S-polarized light. At the end of the cell is another MgF2 window through which the beam passes. The axis of the crystal is parallel to the optical axis. I expect that because of this residual p-polarized light, the total polarization state will change (probably not much) but I would like to quantify the final polarization state. I don't quite know how to model in Zemax the absorption coefficients k as a function of wavelength for different polarization components and in turn determine the final polarization state.
I tried to use the Birefringece In/Out surfaces for the MgF2 window and in the Multi Configuration-Editor I defined two materials differing in transmission level, which I changed with the Mode option. But it seems to me that this does not have a positive result.
I would be very grateful if someone could give me some suggestions on how to simulate this in Zemax?