Skip to content

Conversation

@massiabbas
Copy link

Modified engines.py so optical photons can be transported in voxelized volumes (ImageVolumes). Before that, optical properties were only applied to the default material and not those defined in "voxel_materials", preventing the transport of optical photons in ImageVolumes.

massiabbas and others added 10 commits June 20, 2025 17:13
Modified engines.py so optical properties can be applied to voxelized volumes. It loops on all materials created in the simulations and set the optical properties only if the material is in "voxel_materials"
Modified engines.py so optical photons can be transported in voxelized volumes (ImageVolumes). Before that, optical properties were only applied to the default material and not those defined in "voxel_materials", preventing the transport of optical photons in ImageVolumes.
test, adding the default material
@tbaudier
Copy link
Contributor

Hello @massiabbas,

With David we modified a little bit your PR:

Last thing: could you improve the test please? For the moment, it's just a simulation but we prefer to have a real test with a checking at the end of the simulation.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants