Skip to content

Replay fails when simulating with multiple light sources #215

Closed
@shanghongY

Description

@shanghongY

When using two Gaussian light sources, there is an error in saving the detected photon ID, and the photon replay function fails to replay all the photons, as shown in the figure. In addition, I also calculated the photon energy absorption, and when using the formula of optical path length and absorption coefficient, the energy absorption of the detected photon is different from the simulation. However, when the same operation is performed with a single light source, the results are correct. Is it possible to solve this problem? Thank you very much.

HP0 $NBGZWZIAU2MXU_@JUW
CT13R9 7$ EPFZG212OOWN](https://github.com/fangq/mcx/assets/163225517/66293a33-2b92-46be-a076-b6bff25cf827) ![EM94(RUI%O~$HH$%(RJ @KC](https://github.com/fangq/mcx/assets/163225517/bee84ff4-9001-46af-b162-5e572885599d) ![VZX2 7_K_YR~5~4U3)@Q8E

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions