hi Irene,
I apologize for the delay. after debugging this issue further, I
found several bugs in mcx related to combining replay with
multi-source simulation, the issues were documented in this ticket
https://github.com/fangq/mcx/issues/250
I was able to fix it with the two commits linked in the above issue
you may try your sample script again (suggest using lower photon numbers first) - here are the expected results
when using cfg.replaydet=-1 and cfg.srcid=-1, this will produce a Nx * Ny * Nz * Nt * Ndet * Nsrc 6D array to store all combinations of the Jacobians
when cfg.replaydet=1 or 2 and cfg.srcid=-1, the 6th dimension is still Nsrc, but the 5th becomes 1
when cfg.replaydet=-1 and cfg.srcid undefined, the 6th dimension is still 1, the 5th stays 2, each storing the sum of the Jacobians from both sources for each of the detector
when cfg.replaydet=1 or 2 and cfg.srcid=1 or 2, the 5/6
dimensions become 1, producing only one Jacobian for the specified
src/det pair
when cfg.replaydet=0 and cfg.srcid undefined, the 5/6 dimensions become 1, producing only one Jacobian summing all src/all detector combinations
Qianqian
You don't often get email from irene...@outlook.com. Learn why this is important
--
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 visit https://groups.google.com/d/msgid/mcx-users/dc9e14e8-4528-476a-a8e4-411f5e7bac26n%40googlegroups.com.