Hi all
I can run the dynalog demo with out problems. but when I try to analise a Trilogy Dynalog file captured in our hospital
with this simple script
import matplotlib as plt
plt.use(‘Qt5Agg’)
from pylinac import Dynalog
from pylinac import load_log
dlog_path = “/home/karl/Scrivania/A20180307125643_zzz_trilogy_QA_v3.dlg”
dlog = Dynalog(dlog_path)
dlog.fluence.actual.calc_map()
dlog.fluence.actual.plot_map()
I get this error
Traceback (most recent call last):
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_qt5.py”, line 519, in _draw_idle
self.draw()
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/backends/backend_agg.py”, line 433, in draw
self.figure.draw(self.renderer)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py”, line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/figure.py”, line 1475, in draw
renderer, self, artists, self.suppressComposite)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/image.py”, line 141, in _draw_list_compositing_images
a.draw(renderer)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py”, line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/axes/_base.py”, line 2607, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/image.py”, line 141, in _draw_list_compositing_images
a.draw(renderer)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/artist.py”, line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/image.py”, line 593, in draw
renderer, renderer.get_image_magnification())
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/image.py”, line 841, in make_image
unsampled=unsampled)
File “/home/karl/anaconda3/lib/python3.5/site-packages/matplotlib/image.py”, line 438, in _make_image
self.get_filterrad() or 0.0)
ValueError: Unsupported dtype
Someone has an idea whot the trouble could be?
Thank you in advance
Karl