- 1 Introduction to GATE ›
- 2 Installing GATE ›
- 3 Python Basics for GATE ›
- 4 Creating Your First GATE Simulation ›
- 5 Units in GATE ›
- 6 Geometry Fundamentals ›
- 7 Building Complex Geometry ›
- 8 Materials ›
- 9 Geometry Visualization ›
- 10 Particle Sources ›
- 11 Radioactive Sources ›
- 12 Physics Lists ›
- 13 Production Cuts and Transport Parameters ›
- 14 Actors ›
- 15 Dose Calculation ›
- 16 Hits and Detector Response ›
- 17 Digitizers ›
- 18 Singles ›
- 19 Coincidences ›
- 20 Data Output ›
- 21 GATE and ROOT ›
- 22 GATE and Python Data Analysis ›
- 23 Voxelized Geometry ›
- 24 Image and DICOM Data ›
- 25 Motion and Time-Dependent Simulations ›
- 26 PET Simulation Fundamentals ›
- 27 Building a PET Scanner ›
- 28 PET Coincidence Analysis ›
- 29 Time-of-Flight PET ›
- 30 SPECT Simulation Fundamentals ›
- 31 Building a Gamma Camera ›
- 32 SPECT Acquisition ›
- 33 CT and X-Ray Simulation ›
- 34 Radiation Therapy Simulation ›
- 35 Proton Therapy Simulation ›
- 36 Internal Dosimetry ›
- 37 Optical Photon Simulation ›
- 38 Phase-Space Data ›
- 39 Random Numbers and Reproducibility ›
- 40 Multithreading and Performance ›
- 41 Running GATE on HPC Systems ›
- 42 Simulation Validation ›
- 43 Debugging GATE Simulations ›
- 44 Writing Better GATE Simulations ›
- 45 Practical Example: Gamma-Ray Detector ›
- 46 Practical Example: Radiation Shielding ›
- 47 Practical Example: PET Scanner ›
22 GATE and Python Data Analysis
22.1 Reading Simulation Output with Python
22.2 Energy Spectra
22.3 Position Distributions
22.4 Timing Analysis
22.5 Statistical Analysis
22.6 Visualization
Views: 15
Where to Move
Move chapter:
- β° 1 Introduction to GATE
- β° 1.1 What Is GATE?
- β° 1.2 Applications of GATE
- β° 1.3 GATE vs Geant4
- β° 1.4 GATE Simulation Workflow
-
- β° 2 Installing GATE
- β° 2.1 GATE Requirements
- β° 2.2 Creating a Python Environment
- β° 2.3 Installing GATE
- β° 2.4 Verifying the Installation
- β° 2.5 GATE Example Simulations
-
- β° 3 Python Basics for GATE
- β° 3.1 Variables and Data Types
- β° 3.2 Conditional Statements
- β° 3.3 Loops
- β° 3.4 Functions
- β° 3.5 Python Modules
- β° 3.6 NumPy Basics
- β° 3.7 Working with Files
-
- β° 4 Creating Your First GATE Simulation
- β° 4.1 Importing GATE
- β° 4.2 Creating a Simulation
- β° 4.3 Adding the World
- β° 4.4 Adding a Particle Source
- β° 4.5 Adding an Actor
- β° 4.6 Running the Simulation
- β° 4.7 Inspecting the Results
-
- β° 5 Units in GATE
- β° 5.1 Physical Units
- β° 5.2 Length Units
- β° 5.3 Energy Units
- β° 5.4 Time Units
- β° 5.5 Radioactivity Units
- β° 5.6 Using Units Correctly
-
- β° 6 Geometry Fundamentals
- β° 6.1 The World Volume
- β° 6.2 Creating Volumes
- β° 6.3 Box Geometry
- β° 6.4 Cylindrical Geometry
- β° 6.5 Spherical Geometry
- β° 6.6 Position and Translation
- β° 6.7 Rotation
-
- β° 7 Building Complex Geometry
- β° 7.1 Nested Volumes
- β° 7.2 Repeated Volumes
- β° 7.3 Ring Geometry
- β° 7.4 Boolean Geometry
- β° 7.5 Geometry Overlap
- β° 7.6 Reusable Geometry Functions
-
- β° 8 Materials
- β° 8.1 Material Definitions
- β° 8.2 Geant4 Material Database
- β° 8.3 Common Medical Materials
- β° 8.4 Detector Materials
- β° 8.5 Shielding Materials
- β° 8.6 Creating Custom Materials
-
- β° 9 Geometry Visualization
- β° 9.1 Enabling Visualization
- β° 9.2 Displaying Volumes
- β° 9.3 Changing the View
- β° 9.4 Volume Appearance
- β° 9.5 Visualizing Particle Tracks
- β° 9.6 Debugging with Visualization
-
- β° 10 Particle Sources
- β° 10.1 Generic Sources
- β° 10.2 Particle Types
- β° 10.3 Source Position
- β° 10.4 Source Direction
- β° 10.5 Source Energy
- β° 10.6 Source Activity
-
- β° 11 Radioactive Sources
- β° 11.1 Radioactive Decay
- β° 11.2 Medical Radionuclides
- β° 11.3 Positron Emitters
- β° 11.4 Gamma Emitters
- β° 11.5 Activity Distribution
- β° 11.6 Time-Dependent Activity
-
- β° 12 Physics Lists
- β° 12.1 What Is a Physics List?
- β° 12.2 Electromagnetic Physics
- β° 12.3 Gamma Physics
- β° 12.4 Electron Physics
- β° 12.5 Positron Physics
- β° 12.6 Hadronic Physics
- β° 12.7 Choosing Physics Models
-
- β° 13 Production Cuts and Transport Parameters
- β° 13.1 What Are Production Cuts?
- β° 13.2 Range Cuts
- β° 13.3 Region-Based Cuts
- β° 13.4 Accuracy vs Performance
-
- β° 14 Actors
- β° 14.1 What Is an Actor?
- β° 14.2 Simulation Statistics Actor
- β° 14.3 Energy Deposition Actor
- β° 14.4 Dose Actor
- β° 14.5 Phase Space Actor
- β° 14.6 Particle Fluence
- β° 14.7 Actor Filters
-
- β° 15 Dose Calculation
- β° 15.1 Energy Deposition
- β° 15.2 Absorbed Dose
- β° 15.3 Creating a Dose Actor
- β° 15.4 Dose Images
- β° 15.5 Statistical Uncertainty
- β° 15.6 Dose Profiles
-
- β° 16 Hits and Detector Response
- β° 16.1 Particle Interactions in Detectors
- β° 16.2 Hits
- β° 16.3 Hit Collections
- β° 16.4 Hit Attributes
- β° 16.5 Hits vs Detector Signals
-
- β° 17 Digitizers
- β° 17.1 What Is Digitization?
- β° 17.2 Digitizer Chain
- β° 17.3 Energy Summation
- β° 17.4 Readout
- β° 17.5 Energy Blurring
- β° 17.6 Spatial Blurring
- β° 17.7 Energy Thresholds
- β° 17.8 Time Blurring
-
- β° 18 Singles
- β° 18.1 What Are Singles?
- β° 18.2 Creating Singles
- β° 18.3 Detector Identification
- β° 18.4 Energy Windows
- β° 18.5 Analyzing Singles
-
- β° 19 Coincidences
- β° 19.1 What Are Coincidences?
- β° 19.2 Coincidence Sorting
- β° 19.3 True Coincidences
- β° 19.4 Scattered Coincidences
- β° 19.5 Random Coincidences
- β° 19.6 Coincidence Timing
- β° 19.7 Coincidence Output
-
- β° 20 Data Output
- β° 20.1 Simulation Output
- β° 20.2 ROOT Output
- β° 20.3 Image Output
- β° 20.4 Text-Based Output
- β° 20.5 Organizing Simulation Results
-
- β° 21 GATE and ROOT
- β° 21.1 Reading GATE ROOT Files
- β° 21.2 Inspecting Output
- β° 21.3 Energy Histograms
- β° 21.4 Time Histograms
- β° 21.5 Detector Maps
- β° 21.6 Filtering Events
-
- β° 22 GATE and Python Data Analysis
- β° 22.1 Reading Simulation Output with Python
- β° 22.2 Energy Spectra
- β° 22.3 Position Distributions
- β° 22.4 Timing Analysis
- β° 22.5 Statistical Analysis
- β° 22.6 Visualization
-
- β° 23 Voxelized Geometry
- β° 23.1 Introduction to Voxelized Geometry
- β° 23.2 Image-Based Volumes
- β° 23.3 Material Mapping
- β° 23.4 CT-to-Material Conversion
- β° 23.5 Patient Geometry
- β° 23.6 Visualizing Voxelized Geometry
-
- β° 24 Image and DICOM Data
- β° 24.1 Medical Image Formats
- β° 24.2 Reading CT Images
- β° 24.3 DICOM CT Data
- β° 24.4 RT Structure Sets
- β° 24.5 RT Plans
- β° 24.6 Coordinate Systems
-
- β° 25 Motion and Time-Dependent Simulations
- β° 25.1 Time in GATE
- β° 25.2 Moving Sources
- β° 25.3 Moving Detectors
- β° 25.4 Respiratory Motion
- β° 25.5 Scanner Rotation
- β° 25.6 Dynamic Imaging
-
- β° 26 PET Simulation Fundamentals
- β° 26.1 PET Physics
- β° 26.2 PET Scanner Components
- β° 26.3 PET Detector Geometry
- β° 26.4 PET Source
- β° 26.5 PET Physics Configuration
- β° 26.6 PET Detector Response
-
- β° 27 Building a PET Scanner
- β° 27.1 Creating the Detector Ring
- β° 27.2 Creating Detector Blocks
- β° 27.3 Creating Detector Crystals
- β° 27.4 Assigning Detector IDs
- β° 27.5 Adding a PET Source
- β° 27.6 Configuring the Digitizer
- β° 27.7 Running the PET Simulation
-
- β° 28 PET Coincidence Analysis
- β° 28.1 Coincidence Events
- β° 28.2 Energy Selection
- β° 28.3 Coincidence Time Window
- β° 28.4 Lines of Response
- β° 28.5 True Events
- β° 28.6 Scatter Events
- β° 28.7 Random Events
- β° 28.8 PET Performance Metrics
-
- β° 29 Time-of-Flight PET
- β° 29.1 TOF PET Principles
- β° 29.2 Detector Timing Resolution
- β° 29.3 Time Difference
- β° 29.4 Timing Blurring
- β° 29.5 Analyzing TOF Events
-
- β° 30 SPECT Simulation Fundamentals
- β° 30.1 SPECT Physics
- β° 30.2 SPECT Scanner Components
- β° 30.3 SPECT Radionuclides
- β° 30.4 Gamma Camera Geometry
- β° 30.5 SPECT Source
-
- β° 31 Building a Gamma Camera
- β° 31.1 Detector Head
- β° 31.2 Collimator
- β° 31.3 Shielding
- β° 31.4 Energy Resolution
- β° 31.5 Energy Window
- β° 31.6 Projection Data
-
- β° 32 SPECT Acquisition
- β° 32.1 Rotating Gamma Camera
- β° 32.2 Projection Angles
- β° 32.3 Acquisition Time
- β° 32.4 Energy Windows
- β° 32.5 Projection Images
- β° 32.6 SPECT Data Analysis
-
- β° 33 CT and X-Ray Simulation
- β° 33.1 X-Ray Physics
- β° 33.2 X-Ray Source
- β° 33.3 CT Geometry
- β° 33.4 Detector Array
- β° 33.5 Rotating CT Geometry
- β° 33.6 CT Projection Data
-
- β° 34 Radiation Therapy Simulation
- β° 34.1 External Beam Radiotherapy
- β° 34.2 Photon Beams
- β° 34.3 Electron Beams
- β° 34.4 Dose Calculation
- β° 34.5 Beam Geometry
- β° 34.6 Dose Validation
-
- β° 35 Proton Therapy Simulation
- β° 35.1 Proton Physics
- β° 35.2 Proton Beam
- β° 35.3 Water Phantom
- β° 35.4 Bragg Peak
- β° 35.5 Spread-Out Bragg Peak
- β° 35.6 Proton Dose Analysis
-
- β° 36 Internal Dosimetry
- β° 36.1 Radioactive Sources in the Body
- β° 36.2 Voxelized Activity Maps
- β° 36.3 Energy Deposition
- β° 36.4 Dose Maps
- β° 36.5 Radionuclide Therapy
- β° 36.6 Dose Analysis
-
- β° 37 Optical Photon Simulation
- β° 37.1 Optical Physics
- β° 37.2 Scintillation
- β° 37.3 Optical Properties
- β° 37.4 Optical Surfaces
- β° 37.5 Photodetectors
- β° 37.6 Optical Photon Detection
-
- β° 38 Phase-Space Data
- β° 38.1 What Is a Phase Space?
- β° 38.2 Recording Phase-Space Data
- β° 38.3 Phase-Space Files
- β° 38.4 Phase-Space Sources
- β° 38.5 Applications
-
- β° 39 Random Numbers and Reproducibility
- β° 39.1 Monte Carlo Random Numbers
- β° 39.2 Random Seeds
- β° 39.3 Independent Simulations
- β° 39.4 Reproducible Research
-
- β° 40 Multithreading and Performance
- β° 40.1 Multithreaded Simulation
- β° 40.2 Selecting the Number of Threads
- β° 40.3 Simulation Speed
- β° 40.4 Optimizing Geometry
- β° 40.5 Optimizing Output
- β° 40.6 Large Simulations
-
- β° 41 Running GATE on HPC Systems
- β° 41.1 Why Use HPC?
- β° 41.2 Running GATE Without Visualization
- β° 41.3 Job Scripts
- β° 41.4 Running with Slurm
- β° 41.5 Running Multiple Simulations
- β° 41.6 Combining Results
-
- β° 42 Simulation Validation
- β° 42.1 Why Validate a GATE Simulation?
- β° 42.2 Geometry Validation
- β° 42.3 Physics Validation
- β° 42.4 Comparing with Analytical Models
- β° 42.5 Comparing with Experimental Data
- β° 42.6 Statistical Validation
-
- β° 43 Debugging GATE Simulations
- β° 43.1 Python Errors
- β° 43.2 Geometry Problems
- β° 43.3 Material Errors
- β° 43.4 Source Problems
- β° 43.5 Physics Problems
- β° 43.6 Actor Problems
- β° 43.7 Digitizer Problems
- β° 43.8 Performance Problems
-
- β° 44 Writing Better GATE Simulations
- β° 44.1 Organizing Simulation Scripts
- β° 44.2 Configuration Files
- β° 44.3 Avoiding Hard-Coded Values
- β° 44.4 Reusable Components
- β° 44.5 Output Organization
- β° 44.6 Documentation
- β° 44.7 Version Control
-
- β° 45 Practical Example: Gamma-Ray Detector
- β° 45.1 Project Overview
- β° 45.2 Creating the World
- β° 45.3 Creating the Detector
- β° 45.4 Creating a Gamma Source
- β° 45.5 Configuring Electromagnetic Physics
- β° 45.6 Recording Energy Deposition
- β° 45.7 Adding Energy Resolution
- β° 45.8 Creating an Energy Spectrum
- β° 45.9 Analyzing the Spectrum
-
- β° 46 Practical Example: Radiation Shielding
- β° 46.1 Project Overview
- β° 46.2 Creating the Source
- β° 46.3 Creating the Shield
- β° 46.4 Selecting Shielding Materials
- β° 46.5 Changing Shield Thickness
- β° 46.6 Recording Transmitted Photons
- β° 46.7 Calculating Transmission
- β° 46.8 Calculating Attenuation
- β° 46.9 Comparing with the Exponential Attenuation Law
-
- β° 47 Practical Example: PET Scanner
- β° 47.1 Project Overview
- β° 47.2 Creating the PET Ring
- β° 47.3 Creating Detector Modules
- β° 47.4 Creating Detector Crystals
- β° 47.5 Adding an F-18 Source
- β° 47.6 Configuring PET Physics
- β° 47.7 Recording Hits
- β° 47.8 Creating Singles
- β° 47.9 Applying Energy Blurring
- β° 47.10 Applying the PET Energy Window
- β° 47.11 Sorting Coincidences
- β° 47.12 Identifying True Coincidences
- β° 47.13 Identifying Scattered Coincidences
- β° 47.14 Creating Lines of Response
- β° 47.15 Saving PET Data
-
KAHIBARO