Sources
Sources
This PyQRS_source.zip file contains the files necessary to run PyQRS:
calc.py
, distrib.py
, main.py
, pyqrs.kv
, pyqrs_graphics.py
, pyqrs_slider.py
, cursor_blue_transparant.png
, cursor_red_transparant.png
, icon.png
.
- The file
calc.py
is a small auxiliary file. It containts a functionevaluate()
which parses a string containing a numerical expression and returns its value. - The file
distrib.py
contains code that defines probability distributions. main.py
is the main file. PyQRS is run by issuing the commandpython main.py
, assuming that python3 is used.pyqrs.kv
is the description of the graphical user interface (widgets) for Kivy.- The module
pyqrs_graphics.py
is used in the construction of the graphs. - The slider in PyQRS uses two cursors. To this end the Kivy module
slider.py
was adapted and renamedpyqrs_slider.py
. - The remaining three
.png
-files are used for the slider cursors and the program icon.
Apart from Python3 you will need the modules mentioned in the lines 11 - 27 from main.py
.
Note: ascii-diagrams in calc.py
were constructed using
https://metacpan.org/pod/App::Asciio