Copy pixel edge coordinates
This commit is contained in:
parent
c95341c9b9
commit
4218f529ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue