Copy pixel edge coordinates

This commit is contained in:
Jan Petykiewicz 2024-07-31 22:51:07 -07:00
parent c95341c9b9
commit 4218f529ea

View File

@ -94,7 +94,7 @@ class Grid(GridDrawMixin, GridReadMixin, GridPosMixin):
Raises:
`GridError` on invalid input
"""
edge_arrs = [numpy.asarray(cc) for cc in pixel_edge_coordinates]
edge_arrs = [numpy.array(cc) for cc in pixel_edge_coordinates]
self.exyz = [numpy.unique(edges) for edges in edge_arrs]
self.shifts = numpy.array(shifts, dtype=float)