Skip to content

Commit

Permalink
v1.2.2 tweaks and bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkerns committed Dec 11, 2015
1 parent cfbdc48 commit c6e5ddb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/source/changelog.rst
Expand Up @@ -3,7 +3,13 @@
Changelog
=========

V 1.2.2
-------

* `(#45) <https://github.com/jrkerns/pylinac/issues/45>`_ Fixes various crashes of Leeds analysis.

V 1.2.1
-------

* `(#44) <https://github.com/jrkerns/pylinac/issues/44>`_ Fixed a stale wheel build causing ``pip install`` to install v1.1.

Expand Down
4 changes: 2 additions & 2 deletions pylinac/__init__.py
@@ -1,6 +1,6 @@

__version__ = '0.9.0'
__version_info__ = (0, 9, 0)
__version__ = '1.2.2'
__version_info__ = (1, 2, 2)

import sys
if sys.version_info[0] < 3:
Expand Down
4 changes: 2 additions & 2 deletions pylinac/planar_imaging.py
Expand Up @@ -185,10 +185,10 @@ def _low_contrast(self, radius, center, angle):
angle = np.degrees(angle)
bubble_angles = list(range(30, 151, 15))
bubble_angles += list(range(210, 331, 15))
bubble_radius = 0.03 * radius
bubble_radius = 0.025 * radius

# sample contrast ROIs
bubble_dist = 0.775 * radius
bubble_dist = 0.785 * radius
crois = []
for angle_delta in bubble_angles:
roi = LowContrastDiskROI(self.image, angle - angle_delta, bubble_radius, bubble_dist, center, self.low_contrast_threshold)
Expand Down

0 comments on commit c6e5ddb

Please sign in to comment.