# Example data for Film Dosimetry Analysis

**URL:** <https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787>\
**Category:** Support\
**Created:** [February 3, 2022, 5:41pm UTC](https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787 "2022-02-03T17:41:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![johenn66](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/johenn66/32/14148_2.png) [@johenn66](https://discourse.slicer.org/u/johenn66)\
**Post date:** [February 3, 2022, 5:41pm UTC](https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787/1 "2022-02-03T17:41:52Z")

</div>

I am trying to locate a downloadable example dataset for the “Film Dosimetry Analysis” workflow. Can someone direct me to a downloadable dataset?

---

<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:** [February 4, 2022, 9:41am UTC](https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787/2 "2022-02-04T09:41:25Z")

</div>

I just uploaded a dataset for you, please find it here: [https://github.com/SlicerRt/SlicerRtData/tree/master/film-dosimetry-01](https://github.com/SlicerRt/SlicerRtData/tree/master/film-dosimetry-01)

---

<div class="post-metadata">

**Author:** ![Thomas\_LeDorze](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@Thomas\_LeDorze](https://discourse.slicer.org/u/Thomas_LeDorze)\
**Post date:** [May 13, 2025, 10:06am UTC](https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787/4 "2025-05-13T10:06:22Z")

</div>

Hello,  
we are trying to use the FilmDosimetryAnalysis module in order to eventually perform a gamma comparison between EBT4 radiochromic films (in .tif or .png format) and an RTDose file in .dcm format. However, when we try to perform the calibration in version 4.10 of Slicer, nothing happens.  
Does anyone have a solution?  
Thank you.

---

<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:** [May 13, 2025, 2:43pm UTC](https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787/5 "2025-05-13T14:43:55Z")

</div>

> [@Thomas\_LeDorze](#):
>
> when we try to perform the calibration in version 4.10 of Slicer, nothing happens.

The module is not supported for several years now, but if you can provide me more information of what does not happen, and if there are any errors in the Python console, what they are, I may be able to help.

---

<div class="post-metadata">

**Author:** ![Thomas\_LeDorze](https://avatars.discourse-cdn.com/v4/letter/t/d07c76/32.png) [@Thomas\_LeDorze](https://discourse.slicer.org/u/Thomas_LeDorze)\
**Post date:** [May 14, 2025, 12:26pm UTC](https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787/6 "2025-05-14T12:26:32Z")

</div>

![Pb_Slicer_calibration](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/6/76e8bea4e97a01e2bafd402fbc350a826fb4f188.png)

Hello,  
Thank you for your response.

We import our film scans (in PNG or TIF format), then in “Load calibration dose” we enter the corresponding doses. However, when we click on “Perform calibration”, we never obtain a calibration curve or its coefficients.

Below you will find the errors returned by the program or as an attachment :

Python 2.7.13 (default, May 16 2019, 14:27:45) [MSC v.1900 64 bit (AMD64)] on win32

> > >

Traceback (most recent call last):  
File “”, line 1, in   
File “\s-dds\dds\Soins\Medico-technique\Physique Medicale\NOUVELLE ARBORESENCE\Radiotherapie\Logiciels\3DSlicer\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SegmentEditorEffects\__init_\_.py”, line 5, in   
from SegmentEditorDrawEffect import \*  
File “\s-dds\dds\Soins\Medico-technique\Physique Medicale\NOUVELLE ARBORESENCE\Radiotherapie\Logiciels\3DSlicer\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SegmentEditorEffects\SegmentEditorDrawEffect.py”, line 4, in   
from SegmentEditorEffects import \*  
File “\s-dds\dds\Soins\Medico-technique\Physique Medicale\NOUVELLE ARBORESENCE\Radiotherapie\Logiciels\3DSlicer\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SegmentEditorEffects\SegmentEditorEffects\__init_\_.py”, line 3, in   
from AbstractScriptedSegmentEditorAutoCompleteEffect import \*  
ImportError: No module named AbstractScriptedSegmentEditorAutoCompleteEffect  
Calibration: Mean value for flood field image in ROI = 166.2898  
Calibration: Mean value for calibration image for 4499.0 cGy in ROI = 19.1761, OD = 0.9381  
Calibration: Mean value for calibration image for 3001.0 cGy in ROI = 24.5731, OD = 0.8304  
Calibration: Mean value for calibration image for 1720.0 cGy in ROI = 36.3917, OD = 0.6599  
Calibration: Mean value for calibration image for 1000.0 cGy in ROI = 52.3595, OD = 0.5019  
Calibration: Mean value for calibration image for 500.0 cGy in ROI = 74.3727, OD = 0.3495  
Calibration: Mean value for calibration image for 220.0 cGy in ROI = 105.1962, OD = 0.1989  
Traceback (most recent call last):  
File “C:/Users/M1081468/AppData/Roaming/NA-MIC/Extensions-28257/FilmDosimetryAnalysis/lib/Slicer-4.10/qt-scripted-modules/FilmDosimetryAnalysis.py”, line 1272, in onPerformCalibrationButton  
message = self.logic.performCalibration(floodFieldImageVolumeNode, calibrationDoseToVolumeNodeMap)  
File “C:\Users\M1081468\AppData\Roaming\NA-MIC\Extensions-28257\FilmDosimetryAnalysis\lib\Slicer-4.10\qt-scripted-modules\FilmDosimetryAnalysisLogic\FilmDosimetryAnalysisLogic.py”, line 350, in performCalibration  
self.findBestFittingCalibrationFunctionCoefficients()  
File “C:\Users\M1081468\AppData\Roaming\NA-MIC\Extensions-28257\FilmDosimetryAnalysis\lib\Slicer-4.10\qt-scripted-modules\FilmDosimetryAnalysisLogic\FilmDosimetryAnalysisLogic.py”, line 238, in findBestFittingCalibrationFunctionCoefficients  
coeffs = self.findCoefficientsForExponent(n)  
File “C:\Users\M1081468\AppData\Roaming\NA-MIC\Extensions-28257\FilmDosimetryAnalysis\lib\Slicer-4.10\qt-scripted-modules\FilmDosimetryAnalysisLogic\FilmDosimetryAnalysisLogic.py”, line 261, in findCoefficientsForExponent  
functionConstantTerms = numpy.linalg.lstsq(functionTermsMatrix,functionDoseTerms,rcond=None)  
File “\s-dds\dds\Soins\Medico-technique\Physique Medicale\NOUVELLE ARBORESENCE\Radiotherapie\Logiciels\3DSlicer\Slicer 4.10.2\lib\Python\lib\site-packages\numpy-1.13.1-py2.7-win-amd64.egg\numpy\linalg\linalg.py”, line 1953, in lstsq  
0, work, -1, iwork, 0)  
TypeError: a float is required

 ![error_script_slicer](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/6/66522b2c16bc9334770c338d741ab3c8c21b4759.png)

---

<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:** [May 28, 2025, 10:01am UTC](https://discourse.slicer.org/t/example-data-for-film-dosimetry-analysis/21787/7 "2025-05-28T10:01:03Z")

</div>

Sorry for the delay. I looked at the code, but it is impossible to tell the cause of the error without debugging that version of Slicer with the data you use.

Does it work if you try the test data?

> **[SlicerRtData/film-dosimetry-01 at master · SlicerRt/SlicerRtData](https://github.com/SlicerRt/SlicerRtData/tree/master/film-dosimetry-01)**
>
> Sample DICOM-RT datasets for demonstration and testing purposes - SlicerRt/SlicerRtData
