pylinac
pylinac copied to clipboard
An image analysis library for medical physics
Hi, I have used your gamma evaluation. During testing I regognised some behavior that I would interprete as a bug. if you would enter fthe function equate_images with the same...
Fix imports (at least for my virtualenv) and make it run automatically when py_gui is invoked
Hi James, the `:MLC: Leaf_under_y_jaw` function seems not judging whether the leaf is under the jaw for HDMLC case correctly. Here is a PR for that. Sorry that there are...
This is a possible solution: https://stackoverflow.com/questions/5045210/how-to-remove-unconverted-data-from-a-python-datetime-object But we could also just add ValueError to the existing try/except block, allowing it to fail gracefully.
https://github.com/jrkerns/pylinac/blob/8cdd9b867133725da3baecb27e7c0d89c6b59a11/pylinac/core/roi.py#L204 - [ ] change to match numpy standards - [ ] test to ensure no regression on classes that use the class
OSX Sierra, pylinac 2.0.1 ``` >>> import pylinac >>> pylinac.gui() 2017-04-28 15:21:21.571 python3[1129:94855] -[NSApplication _setup:]: unrecognized selector sent to instance 0x104a531d0 2017-04-28 15:21:21.574 python3[1129:94855] *** Terminating app due to uncaught...
This implements pint.Quantity inputs in tg51.p_tp() function to also allow inputs in other units, like for instance mbar or kPa. Backwards compatibility is maintained by type checking inputs. I also...
As of now, the behavior is to calculate the leaf fluence as one pixel, which does not allow for partially-covered leaves. This may (slightly) affect the gamma score. One solution...