Skip to content

zehata/cuda-photon-diffusion-monte-carlo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

CUDA-based Photon Diffusion Monte-Carlo Simulation

Development Status: Complete Support: Archived Github License

Originally written on Google Colab to use the (much faster) GPU on the service. This is an extremely basic demonstration of photon diffusion in turbid tissue, it's just to show my teammates how to apply equations being taught in class.

Why CUDA?

Because I had no other GPUs to test on

Usage

Tested working on Google Colab T4 sessions as of writing (Aug 2025)

To run this locally you will need:

A supported CUDA-based GPU

python 3 (tested with 3.11)

torch (PyTorch) (tested with 2.6.0)

numpy (tested with 2.0.2)

matplotlib (tested with 3.10.0)

License

CC0. Do whatever you want with it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages