GATE application example using SuperComputer 2012. 6. 30 국립암센터 박 세 준 연구원.

Slides:



Advertisements
Similar presentations
Building Portals to access Grid Middleware National Technical University of Athens Konstantinos Dolkas, On behalf of Andreas Menychtas.
Advertisements

GATE a simulation platform for nuclear medicine based on GEANT4
Computer Simulation for Emission Tomography: Geant4 and GATE Xiao Han Aug
The GATE-LAB system Sorina Camarasu-Pop, Pierre Gueth, Tristan Glatard, Rafael Silva, David Sarrut VIP Workshop December 2012.
Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
PET Design: Simulation Studies using GEANT4 and GATE - Status Report - Martin Göttlich DESY.
Fysisk institutt - Rikshospitalet 1. 2 Overview Gamma camera Positron emission technology (PET) Computer tomography (CT) Proton therapy Electrical impedance.
Medical Imaging Mohammad Dawood Department of Computer Science University of Münster Germany.
Medical Imaging Mohammad Dawood Department of Computer Science University of Münster Germany.
Simulation System for Emission Tomography (SimSET): using the new block detector feature. Robert L. Harrison, William C. J. Hunter, Steven B. Gillispie,
Simulation System for Emission Tomography (SimSET): using simulation to research ideas in emission tomography. Robert L. Harrison, Steven B. Gillispie,
Examples of GATE simulation Yun Dong. Different systems available in GATE Scanner: most generic system; Cylindrical PET: cylindrical geometry; CPET: simulate.
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
Kirov A S, MSKCC Overview of Geant4 Use and Issues in Imaging: Emission Tomography (PET and SPECT) Assen S. Kirov Department of Medical Physics Memorial.
CMS Full Simulation for Run-2 M. Hildrith, V. Ivanchenko, D. Lange CHEP'15 1.
tomos = slice, graphein = to write
14 User Documents and Examples II SLAC Geant4 Tutorial 17 May 2007 Dennis Wright Geant4 V8.3.
Particle Detector Simulation (I) Using Geant4 Ahmed Sayed Hamed (master student)
Planar scintigraphy produces two-dimensional images of three dimensional objects. It is handicapped by the superposition of active and nonactive layers.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
St. Petersburg State University. Department of Physics. Division of Computational Physics. COMPUTER SIMULATION OF CURRENT PRODUCED BY PULSE OF HARD RADIATION.
G EANT highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration.
Design and simulation of micro-SPECT: A small animal imaging system Freek Beekman and Brendan Vastenhouw Section tomographic reconstruction and instrumentation.
ALCPG October 25 th 2007 Hans Wenzel Calorimetry in slic How-to Motivation for dual readout Calorimeter What are our requirements Why did we choose SLIC.
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
Ian C. Smith 1 A portal-based system for quality assurance of radiotherapy treatment plans using Grid-enabled High Performance Computing clusters CR Baker.
Interface parallel session report Hajime Yoshida.
Medical Image Analysis Dr. Mohammad Dawood Department of Computer Science University of Münster Germany.
S. Guatelli, CPS Innovations, Knoxville, 13 th -21 st January Brachytherapy exercise.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Plug-in’s Exercises Pedro Arce Dubois CIEMAT
GAMOS tutorial X-ray Exercises
S. Guatelli, M.G Pia, INFN Genova G. Cosmo, S. Guatelli, M.G Pia Salamanca, July 2002
Medical Accelerator F. Foppiano, M.G. Pia, M. Piergentili
ALCPG Software Framework Overview & Updates Jeremy McCormick, SLAC SiD Group ALCPG 2009.
Professor Brian F Hutton Institute of Nuclear Medicine University College London Emission Tomography Principles and Reconstruction.
Pedro Arce Introducción a GEANT4 1 GAMOS tutorial Compton Camera Exercises
RICH SIMULATION USING GEANT4 S.EASO, RAL OBJECTIVES OF THE SIMULATION. CURRENT STATUS AND PLANS. INTEGRATION WITH LHCb SOFTWARE. SUMMARY.
Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.
Parallellising Geant4 John Allison Manchester University and Geant4 Associates International Ltd 16-Jan-2013Geant4-MT John Allison Hartree Meeting1.
Nuclear Medicine: Tomographic Imaging – SPECT, SPECT-CT and PET-CT Katrina Cockburn Nuclear Medicine Physicist.
Nuclear Medicine Principles & Technology_I
N 0 primary photons generated N d primary photons detected Determination of the photon mass attenuation coefficients Check on ParentID( ) Energy value.
Geant4 examples Sébastien Incerti On behalf of the Geant4 collaboration with special thanks to Luciano Pandola, INFN.
Gate-simulation of dose G4: David Nokto & Anette Kniberg.
P. Rodrigues, A. Trindade, L.Peralta, J. Varela GEANT4 Medical Applications at LIP GEANT4 Workshop, September – 4 October LIP – Lisbon.
John Apostolakis & Makoto Asai for the Geant4 Collaboration 1(Draft) SNA-MC 2010.
1 Nuclear Medicine SPECT and PET. 2 a good book! SR Cherry, JA Sorenson, ME Phelps Physics in Nuclear Medicine Saunders, 2012.
DataGrid is a project funded by the European Commission under contract IST rd EU Review – 19-20/02/2004 Parallelization of Monte Carlo simulations.
Maria Grazia Pia, INFN Genova and CERN1 Geant4 highlights of relevance for medical physics applications Maria Grazia Pia INFN Genova and CERN.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
INFSO-RI Enabling Grids for E-sciencE Grid based telemedicine application for GATE Monte Carlo dosimetric studies using HOPE (Hospital Platform.
2011 Development Plan Makoto Asai (SLAC PPA/SCA) on behalf of the Geant4 Collaboration March 3 rd, Geant4 Technical Forum.
Flair development for the MC TPS Wioletta Kozłowska CERN / Medical University of Vienna.
Dae-Hyun Kim Dept. of Biomedical Engineering The Catholic University of Korea Department of Biomedical Engineering Research Institute.
GATE Monte Carlo simulation platform
Se Byeong Lee, Ph.D Chief Medical Physicist Proton Therapy Center in NCC, Korea.
PET Imaging Positron Emission Tomography
Simulations in Medical Physics Y. TOUFIQUE*, R.CHERKAOUI EL MOURSLI*, M.KACI**, G.AMOROS**, *Université Mohammed V –Agdal, Faculté des Sciences de Rabat,
Starting with an example PART I Set your environment up and get a Geant4 example.
1 RIC 2009 Symbolic Nuclear Analysis Package - SNAP version 1.0: Features and Applications Chester Gingrich RES/DSA/CDB 3/12/09.
Learning Objectives By the end of this lesson you should…
Introduction of GATE 국립암센터 박 세 준 연구원.
Releases and developments
Releases and developments
User Documents and Examples I
Part II Status of GATE-related projects (Clermont-Ferrand; May 2017)
Monte Carlo Simulation
The Hadrontherapy Geant4 advanced example
GAMOS tutorial Plug-in’s Exercises
Geant4 course - exercices
Presentation transcript:

GATE application example using SuperComputer 국립암센터 박 세 준 연구원

GATE 란 GATE : G EANT4 A pplication for T omographic E mission Geant4 를 기반으로 하여 핵의학영상기기인 PET 과 SPECT 시뮬레이션을 위하여 2004 년 처음으로 release 됨 년 2 월에 release 된 GATE ver 부터 radiation therapy, hadron therapy 추가됨. ( Currently GATE ver. 6.1) GATE simulationSinogramReconstructed image

Main technical features GATE ▫ is based on Geant4 ▫ is written in C++ ▫ is user-friendly as simulations can be designed and controlled using macros, without any C++ writing ▫ is able to simulate SPECT, PET and CT scans and radiotherapy treatments ▫ is flexible enough to model almost any detector design ▫ explicitly models time, therefore make it possible to model detector motion, patient motion, radioactive decay, optical photon tracking, dead time, time of flight, tracer kinetecs ▫ can handle analytical or voxelized phantoms ▫ can run on a cluster architecture and on a grid

How it works Developer level ▫ Core and Application layer ▫ C++ programming User level ▫ Simulation parameters  Geometry  Sources  Time  Analysis  … ▫ Macro scripting only Structure of GATE

General Simulation Architecture 1.Scanner geometry 2.Phantom geometry 3.Physics processes 4.Initialization compute cross-section tables 5.Digitizer Description 6.Source Description 7.Output setup 8.Time management Materials ; Geometry ; Physical processes Post-initialization

Geometry scripting /gate/world/geometry/setXLength 100 cm /gate/world/geometry/setYLength 100 cm /gate/world/geometry/setZLength 100 cm world /gate/world/daughters/name SPECThead /gate/world/daughters/insert box scanner collimator crystal phantom /gate/SPECThead/repeaters/insert ring /gate/SPECThead/ring/setRepeatNumber 4 /gate/SPECThead/daughters/name collimator /gate/SPECThead/daughters/insert box /gate/SPECThead/daughters/name crystal /gate/SPECThead/daughters/insert box /gate/world/daughters/name Phantom /gate/world/daughters/insert cylinder

Geometry example PET camera Ocular brachytherapy treatment Radiotherapy OPET scanner

Material and Physics scripting /gate/geometry/setMaterialDatabase../../GateMaterials.db …… # P H Y S I C S ##### /gate/physics/addProcess PhotoElectric /gate/physics/addProcess LowEnergyCompton /gate/physics/addProcess LowEnergyRayleighScattering /gate/physics/addProcess ElectronIonisation /gate/physics/addProcess Bremsstrahlung /gate/physics/addProcess MultipleScattering e- /gate/physics/processList Enabled /gate/physics/processList Initialized /applic/applications/hep/Gate/gate_v6.1/GateMaterials.db

Sensitive volumes and digitization # S E N S I T I V E D E T E C T O R S # Crystal SD /gate/crystal/attachCrystalSD # D I G I T I Z E R ##### # The digitizer tracks what happens in the detection system and in the electronics # Build a digitizer that first computes the centroid of interactions ## /gate/digitizer/Singles/insert adder /gate/digitizer/Singles/insert blurring /gate/digitizer/Singles/blurring/setResolution 0.10 /gate/digitizer/Singles/blurring/setEnergyOfReference 140. keV /gate/digitizer/Singles/insert spblurring /gate/digitizer/Singles/spblurring/setSpresolution 2.0 mm /gate/digitizer/Singles/spblurring/verbose 0 /gate/digitizer/Singles/insert thresholder /gate/digitizer/Singles/thresholder/setThreshold 20. keV /gate/digitizer/Singles/insert upholder /gate/digitizer/Singles/upholder/setUphold 190. keV w/o spblurring with spblurring

Source scripting Multiple sources ▫ Controlled by source manager ▫ Inserted via scripting ▫ Complex geometries: customized gps An example: dual isotope scan simulation ▫ F-18 and O-15 in PET ▫ Tc-99m and Tl-201 in SPECT /gate/source/addSource F18LineSource /gate/source/F18LineSource/setActivity Bq /gate/source/F18LineSource/gps/particle e+ /gate/source/F18LineSource/setForcedHalfLife s /gate/source/F18LineSource/gps/energytype Fluor18 /gate/source/addSource O15LineSource /gate/source/O15LineSource/setActivity Bq /gate/source/O15LineSource/gps/particle e+ /gate/source/O15LineSource/setForcedHalfLife s /gate/source/O15LineSource/gps/energytype Oxygen15

Output scripting #O U T P U T /gate/output/ascii/setOutFileHitsFlag 0 /gate/output/ascii/setOutFileSinglesFlag 0 /gate/output/ascii/setOutFileCoincidencesFlag 0 /gate/output/ascii/setOutFiledelayFlag 0 /gate/output/root/enable /gate/output/root/setFileName benchmarkPET /gate/output/root/setRootHitFlag 0 /gate/output/root/setRootSinglesFlag 0 /gate/output/root/setRootCoincidencesFlag 1 /gate/output/root/setRootdelayFlag 1

Timing scripting Simulation time ▫ A clock models the passing of time during experiments ▫ The user defines the experiment timing Time-dependent objects ▫ Updated when time changes ▫ Allows programming of movement, tracer kinetics.. /gate/application/setTimeSlice 37.5 s /gate/application/setTimeStart 0. s /gate/application/setTimeStop 600. s /gate/application/startDAQ 0. s150. s 300. s450. s

How to run GATE Interactive mode Batch mode Parameterized macro gate [G4] [G4] ************************************************************* [G4] Geant4 version Name: geant patch-03 (29-January-2010) [G4] Copyright : Geant4 Collaboration [G4] Reference : NIM A 506 (2003), [G4] WWW : [G4] ************************************************************* [G4] [Core-0] Initialization of geometry [Core-0] Initialization of physics [Core-0] Initialization of actors [Core-0] [Core-0] ********************************************************************* * [Core-0] GATE version name: gate_v6.0_p01 [Core-0] Copyright : OpenGATE Collaboration [Core-0] Reference : Phys. Med. Biol. 49 (2004) [Core-0] WWW : ; [Core-0] ********************************************************************* * [Core-0] Idle> /control/execute vis.mac Got standard cmap Window name: viewer-0 (OpenGLStoredX) /tracking/storeTrajectory 1 … Idle> gate benchSPECT.mac GATE 6.0 버젼 에서는 parameterized macro 실행 안됨. Bug!! 6.1. 버전에는 fix 되어 실행가능.

Submitting a job to SuperComputer #!/bin/bash #$ -V #$ -cwd #$ -N serial_job #$ -q normal #$ -R yes ##$ -wd /scratch/ /serialtest #$ -l h_rt=01:00:00 # To run Sequential, but multi-thread enabled program including Gaussian, # Users have to to set OMP_NUM_THREADS properly according to # job's inputfile's num_of_cpus or correspondent command line argument. # For example, Gaussian uses the parameter, %NProc or %NProcshared in input file. # Therefore, if %NProc=8 is defined in the input file, # users have to insert "export OMP_NUM_THREADS=8" into this job script. #$ -l OMP_NUM_THREADS=1 #$ -v OMP_NUM_THREADS=1 export OMP_NUM_THREADS=1 Gate benchSPECT.mac 주의 : 슈퍼컴에 submit 할 때는 macro 내에 # /control/execute vis.mac 반드시 주석 처리

scp 명령어로 output 파일 다운받기 scp 사용전 node 에서 잠시 나옴. ~]$ exit ~]$ scp –p 5211

감사합니다. ▫ GATE URL : ▫ GATE user mailing : gate- ▫ To install GATE: ▫ To use GATE: