Hello,
I am new using Pylinac and I want to implement it on my MRidian accelerator to perform quality checks.
I have tested with a set of 11 MRI images on the ACR Phantom, as specified in the manual, but when running the results analysis I get the following error:
Traceback (most recent call last):
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\spyder_kernels\customize\spyderpdb.py”, line 776, in run
super(SpyderPdb, self).run(cmd, globals, locals)
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\bdb.py”, line 597, in run
exec(cmd, globals, locals)
File “c:\users\user\desktop\acr test rmn\acr.py”, line 19, in
mri.analyze()
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\pylinac\acr.py”, line 969, in analyze
self.uniformity_module = MRUniformityModule(
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\pylinac\acr.py”, line 719, in init
super().init(catphan, tolerance=None, offset=offset)
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\pylinac\ct.py”, line 350, in init
Slice.init(
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\pylinac\ct.py”, line 267, in init
array = combine_surrounding_slices(
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\pylinac\ct.py”, line 2195, in combine_surrounding_slices
arrays = tuple(dicomstack[s].array for s in slices)
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\pylinac\ct.py”, line 2195, in
arrays = tuple(dicomstack[s].array for s in slices)
File “C:\Users\USER\AppData\Local\Programs\Python\Python310\lib\site-packages\pylinac\core\image.py”, line 1241, in getitem
return self.images[item]
IndexError: list index out of range
Thanks in advance for your help