# 3D gel dosimetry - Slicelets: Calibration issue

**URL:** <https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524>\
**Category:** Support\
**Tags:** gel-dosimetry\
**Created:** [March 15, 2022, 5:26pm UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524 "2022-03-15T17:26:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kawtar\_Lakrad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kawtar_lakrad/32/13528_2.png) [@Kawtar\_Lakrad](https://discourse.slicer.org/u/Kawtar_Lakrad)\
**Post date:** [March 15, 2022, 5:26pm UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524/1 "2022-03-15T17:26:17Z")

</div>

Operating system: windows 11  
Slicer version: 4:13  
I am having issue with the calibration; it is like if it is not applying the equation I am working with.  
Do you have any idea about this issue?  
Thank you.

 ![Calibration issue](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/7/178ffb98fd832e9702445587b72eac44652eee15.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 17, 2022, 1:26am UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524/2 "2022-03-17T01:26:48Z")

</div>

Please describe what you did, what you expected to happen, and what happened instead.

---

<div class="post-metadata">

**Author:** ![Kawtar\_Lakrad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kawtar_lakrad/32/13528_2.png) [@Kawtar\_Lakrad](https://discourse.slicer.org/u/Kawtar_Lakrad)\
**Post date:** [March 21, 2022, 6:10pm UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524/3 "2022-03-21T18:10:53Z")

</div>

I applied a calibration function, and it is supposed to calibrate using it, but I noticed that even if I hit apply calibration, it doesn’t really use the function.  
Thank you for your help.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 22, 2022, 2:24am UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524/4 "2022-03-22T02:24:38Z")

</div>

We would need much more details - what data did you use, how exactly you calibrated, how did you check if the calibration was applied. If you find that it is too much work to describe each click then you can record your screen and share that video (upload to dropbox/onedrive/google drive and post the link here).

---

<div class="post-metadata">

**Author:** ![Kawtar\_Lakrad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kawtar_lakrad/32/13528_2.png) [@Kawtar\_Lakrad](https://discourse.slicer.org/u/Kawtar_Lakrad)\
**Post date:** [March 31, 2022, 4:42pm UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524/5 "2022-03-31T16:42:22Z")

</div>

I use DICOM files for both planned and measured data. the planned data is dose (Gy) and the measured data is density change (HU). HU change is linear to the dose change so what I do is using segments → segment statics → then use those values to apply calibration. It used to work perfectly but now it is like if it is not taking the values I enter in consideration.

Thank you.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 3, 2022, 2:49pm UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524/6 "2022-04-03T14:49:47Z")

</div>

@cpinter can you have a look at this?

---

<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:** [April 4, 2022, 11:26am UTC](https://discourse.slicer.org/t/3d-gel-dosimetry-slicelets-calibration-issue/22524/7 "2022-04-04T11:26:56Z")

</div>

If someone touches the Gel Dosimetry extension code then it will require much more than a few little fixes because it has not been maintained for years. I’m surprised it still works… probably there are Python errors in the interactor at every step (but the users don’t see that). I don’t have the capacity to volunteer that kind of time on this extension that is not related in any sense to my current projects.

@Kawtar_Lakrad Would it be possible to

1. Do what you intend to do and then see what is in the Python interactor and paste the errors here?
2. In the meantime use a Slicer version where the extension worked well? Also if you can identify the last version that worked well for you it would be helpful for fixing this problem.
