InverseLight / ValoMC

Monte Carlo software for simulating light propagation
https://inverselight.github.io/ValoMC/
Other
43 stars 14 forks source link

Polarized Light for MC #15

Open gasha17 opened 2 years ago

gasha17 commented 2 years ago

Hallo Dr. Aleksi,

How will we get around to incorporate Polarized light source in valo-MC. It would involve tracking polar coordinate (or any other ) at incoming and exit boundary elements, and in also in medium for each updated scatter length. Is it something doable in Matlab, without changing the original code or one has to edit C++ files?

You comment suggestion are most appreciated.

Thanks a lot, GS

aaleino commented 2 years ago

Hello GS,

Sorry for the late response. At least for a general solution, it cannot be done without changing the C++ files. Polarization may change in scattering, and different polarizations may have different absorption coefficients, for example. One must build some tracking for these in the C++ code.

Best, Aleksi

gasha17 commented 2 years ago

Thank you, We thought the same. For now we wprk in parallel with polraized MC code and Valo. Greets from Hannover.