|
|
|
@ -171,7 +171,7 @@ class Grid(object):
|
|
|
|
|
|
|
|
|
|
def ind2pos(self,
|
|
|
|
|
ind: numpy.ndarray or List,
|
|
|
|
|
which_shifts: int or None=None,
|
|
|
|
|
which_shifts: int = None,
|
|
|
|
|
round_ind: bool = True,
|
|
|
|
|
check_bounds: bool = True
|
|
|
|
|
) -> numpy.ndarray:
|
|
|
|
@ -753,7 +753,7 @@ class Grid(object):
|
|
|
|
|
:param center: Scalar specifying position along surface_normal axis.
|
|
|
|
|
:param which_shifts: Which grid to display. Default is the first grid (0).
|
|
|
|
|
:param sample_period: Period for down-sampling the image. Default 1 (disabled)
|
|
|
|
|
:param finalize: Whether to call pyplot.show() after constructing the plot.
|
|
|
|
|
:param finalize: Whether to call pyplot.show() after constructing the plot. Default True
|
|
|
|
|
"""
|
|
|
|
|
from matplotlib import pyplot
|
|
|
|
|
|
|
|
|
@ -790,6 +790,7 @@ class Grid(object):
|
|
|
|
|
:param which_shifts: Which grid to display. Default is the first grid (0).
|
|
|
|
|
:param sample_period: Period for down-sampling the image. Default 1 (disabled)
|
|
|
|
|
:param show_edges: Whether to draw triangle edges. Default True
|
|
|
|
|
:param finalize: Whether to call pyplot.show() after constructing the plot. Default True
|
|
|
|
|
"""
|
|
|
|
|
from matplotlib import pyplot
|
|
|
|
|
import skimage.measure
|
|
|
|
|