A complete simulation and visualization platform for Muon Scattering Tomography (MST).
This repository contains a complete end-to-end implementation of a Muon Scattering Tomography (MST) system. It combines a high-performance Python simulation engine with an interactive browser-based visualization dashboard to model, reconstruct, and analyze cosmic-ray muons passing through unknown materials.
The project demonstrates the complete workflow of a muon tomography experiment:
- Cosmic muon generation
- Detector geometry simulation
- Plastic scintillator response
- Optical fiber routing
- MAPMT readout
- Multiple Coulomb Scattering (MCS)
- Track reconstruction
- Point of Closest Approach (PoCA)
- Material identification
- Interactive 3D visualization
The repository is designed for educational purposes, research, and rapid prototyping of muon tomography systems.
muon/
│
├── pythonsetup/
│ ├── Simulation Engine
│ ├── Detector Geometry
│ ├── Physics Models
│ ├── Muon Generator
│ ├── Reconstruction Algorithms
│ ├── Material Classification
│ └── README.md
│
├── web/
│ ├── Interactive Dashboard
│ ├── Three.js Visualization
│ ├── Physics Animation
│ ├── User Interface
│ └── README.md
│
└── README.md
Located in:
pythonsetup/
This module performs the complete physics simulation of the detector system.
- Modular detector geometry
- Plastic scintillator detector planes
- Optical fiber readout
- MAPMT simulation
- Cosmic muon generation
- Multiple Coulomb Scattering (MCS)
- Track fitting
- Point of Closest Approach (PoCA)
- Material classification
- High-performance NumPy implementation
📖 For complete documentation, installation instructions, and implementation details, see:
pythonsetup/README.md
Located in:
web/
The web application provides a real-time 3D visualization of the detector and reconstructed events.
- Interactive detector visualization
- Three.js rendering
- Detector animation
- Muon trajectory display
- Hidden object visualization
- Material reconstruction display
- Responsive UI
- Modern WebGL graphics
📖 For setup instructions and implementation details, see:
web/README.md
Cosmic Muons
│
▼
Detector Planes
│
▼
Plastic Scintillators
│
▼
Optical Fibers
│
▼
MAPMT Readout
│
▼
Track Reconstruction
│
▼
Multiple Coulomb Scattering
│
▼
PoCA Reconstruction
│
▼
Voxel Density Map
│
▼
Material Classification
│
▼
Interactive 3D Visualization
- Python
- JavaScript
- HTML5
- CSS3
- NumPy
- Plotly
- Three.js
- WebGL
- Multiple Coulomb Scattering (Highland Formula)
- Least Squares Track Fitting
- Point of Closest Approach (PoCA)
- Voxel-based Density Reconstruction
- Material Classification
This project can be used for:
- Muon tomography research
- Detector simulation
- Particle physics education
- Nuclear security studies
- Non-destructive testing
- Radiation imaging research
- Algorithm development
- Scientific visualization
Clone the repository:
git clone https://github.com/prathamchawda231-netizen/muon.git
cd muonThen choose the component you want to use.
cd pythonsetupFollow the instructions in:
pythonsetup/README.md
cd webOpen the project according to the instructions in:
web/README.md
| Component | Description |
|---|---|
pythonsetup/README.md |
Complete documentation for the simulation engine |
web/README.md |
Complete documentation for the visualization dashboard |
- Geant4 integration
- ROOT output support
- GPU acceleration
- Machine learning–based material classification
- Detector calibration tools
- Real detector data support
- Distributed simulation
- Docker deployment
- Cloud-based visualization
Contributions are welcome.
If you would like to improve the project:
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Submit a Pull Request.
This project is released under the MIT License unless otherwise specified.
This project is inspired by research in cosmic-ray muon tomography, detector physics, and particle tracking. It is intended as an educational and research-oriented implementation demonstrating the principles of Muon Scattering Tomography.
- Simulation Engine:
pythonsetup/ - Visualization Dashboard:
web/
Each component includes its own detailed documentation covering architecture, installation, usage, and implementation details.