pygsti.tools.matrixtools.ndarray_base#
- ndarray_base(a, verbosity=0)#
Get the base memory object for numpy array a.
This is found by following .base until it comes up None.
- Parameters:
a (numpy.ndarray) – Array to get base of.
verbosity (int, optional) – Print additional debugging information if this is > 0.
- Return type:
numpy.ndarray