Skip to content

Commit

Permalink
Closes #391
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkerns committed May 12, 2021
1 parent d748dea commit fb25832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylinac/vmat.py
Expand Up @@ -155,7 +155,7 @@ def _calculate_segment_centers(self) -> List[Point]:
"""Construct the center points of the segments based on the field center and known x-offsets."""
points = []
dmlc_prof, _ = self._median_profiles((self.dmlc_image, self.open_image))
x_field_center, _ = dmlc_prof.fwxm_center()
x_field_center, _ = dmlc_prof.fwxm_center(x=30)
for x_offset_mm in self.SEGMENT_X_POSITIONS_MM:
y = self.open_image.center.y
x_offset_pixels = x_offset_mm * self.open_image.dpmm
Expand Down

0 comments on commit fb25832

Please sign in to comment.