djvine / pysart Goto Github PK
View Code? Open in Web Editor NEWTomographic reconstruction using the Simultaneous Algebraic Reconstruction Technique (SART) implemented in python.
License: GNU General Public License v2.0
Tomographic reconstruction using the Simultaneous Algebraic Reconstruction Technique (SART) implemented in python.
License: GNU General Public License v2.0
when i run the following code:
pysart = pysart(*generate_phantom())
pysart.sart()
I got an error:
C:\Python27\python.exe D:/Users/Administrator/PycharmProjects/ART/arttest/maintest.py
'latex' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Traceback (most recent call last):
File "D:/Users/Administrator/PycharmProjects/ART/arttest/maintest.py", line 16, in <module>
pysart.sart()
File "D:\Users\Administrator\PycharmProjects\ART\arttest\pySART.py", line 69, in sart
self.update_figure(pslice=True)
File "D:\Users\Administrator\PycharmProjects\ART\arttest\pySART.py", line 147, in update_figure
pylab.draw()
File "C:\Python27\lib\site-packages\matplotlib\pyplot.py", line 571, in draw
get_current_fig_manager().canvas.draw()
File "C:\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 349, in draw
FigureCanvasAgg.draw(self)
File "C:\Python27\lib\site-packages\matplotlib\backends\backend_agg.py", line 469, in draw
self.figure.draw(self.renderer)
File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python27\lib\site-packages\matplotlib\figure.py", line 1085, in draw
func(*args)
File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python27\lib\site-packages\matplotlib\axes\_base.py", line 2110, in draw
a.draw(renderer)
File "C:\Python27\lib\site-packages\matplotlib\artist.py", line 59, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python27\lib\site-packages\matplotlib\axis.py", line 1116, in draw
renderer)
File "C:\Python27\lib\site-packages\matplotlib\axis.py", line 1065, in _get_tick_bboxes
extent = tick.label1.get_window_extent(renderer)
File "C:\Python27\lib\site-packages\matplotlib\text.py", line 798, in get_window_extent
bbox, info, descent = self._get_layout(self._renderer)
File "C:\Python27\lib\site-packages\matplotlib\text.py", line 311, in _get_layout
ismath=False)
File "C:\Python27\lib\site-packages\matplotlib\backends\backend_agg.py", line 223, in get_text_width_height_descent
renderer=self)
File "C:\Python27\lib\site-packages\matplotlib\texmanager.py", line 670, in get_text_width_height_descent
dvifile = self.make_dvi(tex, fontsize)
File "C:\Python27\lib\site-packages\matplotlib\texmanager.py", line 417, in make_dvi
report))
RuntimeError: LaTeX was not able to process the following string:
'lp'
Here is the full report generated by LaTeX:
Process finished with exit code 1
How to solve the problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.