Diffuse Reflectance in time domain

136 views
Skip to first unread message

zahra R.fathi

unread,
Nov 14, 2023, 11:47:26 AM11/14/23
to mcx-users

Hello,

I am trying to calculate the diffuse reflectance on one detector from the semi-infinite medium. There is an example that calculates the diffuse reflectance in the steady state( drefmc = mcxcwdref(detp, cfg))


Now I am confused about how to use it in the time domain.
Could you clarify this problem for me?

Thanks

Qianqian Fang

unread,
Nov 14, 2023, 12:01:19 PM11/14/23
to mcx-...@googlegroups.com, zahra R.fathi, Shijie Yan
hi Zahra,

Shijie Yan, my student who wrote mcxcwdref and the below validation script, was mostly focused on the CW case


although, as you can see from his comments, the referred equation, Eq. 8 of Kienle 1997 paper (https://opg.optica.org/josaa/fulltext.cfm?uri=josaa-14-1-246&id=1660) is suitable for both time-resolved or steady-state dref (if using diffusion theory).

for MC, you can modify the below for-loop of mcxcwdref.m to accumulate a time-series for each detector, by calling mcxdettpsf.m (https://github.com/fangq/mcx/blob/v2023/utils/mcxdettpsf.m) instead of a single value for each detector


the output dref should be converted to the time-domain.

Qianqian
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/2ea5fa86-5cc6-457c-977a-2dde352e6a30n%40googlegroups.com.


zahra R.fathi

unread,
Nov 21, 2023, 10:59:16 AM11/21/23
to mcx-users
Dear Prof. Fang,

Thank you very much for your response.  I tried to plot diffuse reflectance in time domain according to your advice and I used the 
function for the time domain, however, the magnitude of the reflectance is not in agreement with Figure 1.  I was wondering if you could guide me through this confusion.

time = [twin(1), twin(end), cfg.tstep];% save positions & directions of escaping photons
[fluence,detp]=mcxlab(cfg);
tpsf = mcxdettpsf(detp,1,cfg.prop,time);
area = pi * (cfg.detpos(:,4)).^2;
td= tpsf./cfg.nphoton; % Eq.12 of photon replay paper[Yao2018]
semilogy(twin(1,1:length(tpsf)).*1e9 , td./area)

Thank you very much for your time.

Sincerely yours,

Zahra
Reply all
Reply to author
Forward
0 new messages