# What is the right way for loading 3D dose volumes from jupyter kernel

**URL:** <https://discourse.slicer.org/t/what-is-the-right-way-for-loading-3d-dose-volumes-from-jupyter-kernel/17651>\
**Category:** Support\
**Created:** [May 17, 2021, 12:34pm UTC](https://discourse.slicer.org/t/what-is-the-right-way-for-loading-3d-dose-volumes-from-jupyter-kernel/17651 "2021-05-17T12:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![meika\_poika](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/meika_poika/32/10960_2.png) [@meika\_poika](https://discourse.slicer.org/u/meika_poika)\
**Post date:** [May 17, 2021, 12:34pm UTC](https://discourse.slicer.org/t/what-is-the-right-way-for-loading-3d-dose-volumes-from-jupyter-kernel/17651/1 "2021-05-17T12:34:30Z")

</div>

Hi!

I’m doing an AI-based RT-project with Slicer, but I’ve been stuck on trying to find a way to load 3D dose images to the scene from jupyter kernel. I want to do some image registration/resampling recursively, but my main problem is that I’m not able to load 3D Doses from RT-DOSE dicom file to the slicers scene using loadVolume.

> dose = glob.glob(os.path.join(patients[6], ‘RD\*.dcm’))  
> propD = {‘name’:‘Dose’}  
> Doseimg = slicer.util.loadVolume(dose, propD)

LoadVolume works perfectly with CT stacks, but this is something that I haven’t been able to figure out by myself. Hope someone can 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:** [May 17, 2021, 1:05pm UTC](https://discourse.slicer.org/t/what-is-the-right-way-for-loading-3d-dose-volumes-from-jupyter-kernel/17651/2 "2021-05-17T13:05:59Z")

</div>

You must to load DICOM data objects using DICOM module. See examples in the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#load-dicom-files-into-the-scene-from-a-folder).
