Greetings,
Pylinac 0.4.0 alpha has been released and includes a number of useful modules for the clinical physicists who dabbles in Python. The most recent version adds a picket fence module.
I’m using Windows 64 with Anaconda. I was able to successfully pip install pylinac, pillow, and pydicom. In a python shell, I could import pylinac, but I get an error when running the starshot demo:
Thanks for the fast reply James, I’m using IPython2.7QT as my console. I know Pylinac is installed because I can get the following info using the help function:
Jay, the issue is not whether pylinac is installed, it’s the python version running it. If you’re using IPython 2.7, it strongly indicates that you are using python 2.7, not 3.x.
You can check what you’re using by doing:
`
from future import print_function
import sys
print(sys.version)
`
You can download the python 3.4 anaconda distribution here. It’s very similar to the 2.7 version, including an IPython console (except it will say IPython (Py 3.4)).
I’ll add a check to pylinac to warn users using python 2.7 in the next release.
Hope you’ll enjoy pylinac once you get it up and running!