Dear Prof. Fang,
I am currently using mcxlab for simulations of time-resolved backscattering from a semi-infinite medium, but I am not sure that my approach is correct. To reproduce my experimental setup capabilities I use an input vertically polarized light and then I have to apply a polarizing filter to select the vertical/horizontal component of detected photons polarization.
In order to do this I take the output stokes parameters, adjust them to the exit angle (as provided in the polarization demo file):
phi=atan2(detps.v(:,2),detps.v(:,1)); % exit angle
s=detps.s; %output stokes parameters
stokes=[s(:,1),s(:,2).*cos(2.*phi)+s(:,3).*sin(2.*phi),...
-s(:,2).*sin(2.*phi)+s(:,3).*cos(2.*phi),s(:,4)]; %adjust stokes parameter to exit angle
Then I evaluate the vertical/horizontal component of the backscattered intensity Iy/Ix:
Iy = (stokes(refl_id,1) - stokes(refl_id,2))./2;
Ix = (stokes(refl_id,1) + stokes(refl_id,2))./2;
To produce a time-resolved output I usually use the histogram function for the detected photons exit times, evaluated starting from the detps.ppath output. In this case, the only approach I could come up with to apply the polarization filter is to perform a weighted histogram for exit times, where the weight for each photon is given by the corresponding Iy or Ix value. I use a modified version of this matlab function (
https://it.mathworks.com/matlabcentral/fileexchange/58450-histwv-v-w-min-max-bins).
[refl_int_poly,~] = histwc(refl_times, Iy_R, times_bin);
[refl_int_polx,~] = histwc(refl_times, Ix_R, times_bin);
With this method I get qualitative good results. As expected at early times there is an enhancement of the vertical (input) polarization and after a certain time light completely loses memory of the original polarization resulting in the 2 polarization outputs approaching the same decay rate.
However, when I try to compare these results with others published in the literature that use Mie-based polarized MC or analytical solutions, I do not find a quantitative agreement.
What is the correct way of selecting a certain polarization channel in detection?

Thank you in advance
Kind Regards
Ernesto Pini