Copy pixel edge coordinates
This commit is contained in:
parent
c95341c9b9
commit
4218f529ea
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user