# Perform gamma analysis with slicerRT using python scripting

**URL:** <https://discourse.slicer.org/t/perform-gamma-analysis-with-slicerrt-using-python-scripting/20423>\
**Category:** Support\
**Created:** [October 30, 2021, 1:35pm UTC](https://discourse.slicer.org/t/perform-gamma-analysis-with-slicerrt-using-python-scripting/20423 "2021-10-30T13:35:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cedric\_Belanger](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cedric_belanger/32/8544_2.png) [@Cedric\_Belanger](https://discourse.slicer.org/u/Cedric_Belanger)\
**Post date:** [October 30, 2021, 1:35pm UTC](https://discourse.slicer.org/t/perform-gamma-analysis-with-slicerrt-using-python-scripting/20423/1 "2021-10-30T13:35:30Z")

</div>

Hello,

I am quite new to the slicer community. I would like to know how to perform a 3D gamma analysis using python scripting with slicerRT dose comparison tool. Are there any tutorials on this?

Any insights would be much appreciated.

Thanks,

Cédric

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [October 31, 2021, 12:32pm UTC](https://discourse.slicer.org/t/perform-gamma-analysis-with-slicerrt-using-python-scripting/20423/2 "2021-10-31T12:32:15Z")

</div>

Hi Cédric,

There are no tutorials on scripting but lots of examples. For example in this [Python automated test](https://github.com/SlicerRt/SlicerRT/blob/master/Testing/Python/IGRTWorkflow_SelfTest.py#L485), a full IGRT workflow is done, including gamma comparison.
