Skip to content

Commit df52fa4

Browse files
Jammy2211Copilot
andauthored
Update autoarray/geometry/geometry_2d.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 706e7a8 commit df52fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoarray/geometry/geometry_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def central_scaled_coordinates(self) -> Tuple[float, float]:
132132

133133
def pixel_coordinates_2d_from(
134134
self, scaled_coordinates_2d: Tuple[float, float]
135-
) -> Tuple[float, float]:
135+
) -> Tuple[int, int]:
136136
"""
137137
Convert a 2D (y,x) scaled coordinate to a 2D (y,x) pixel coordinate, which are returned as integers such that
138138
they do not include the decimal offset from each pixel's top-left corner relative to the input scaled coordinate.

0 commit comments

Comments
 (0)