ewoksid02.utils.caving.get_position_vectors#
- ewoksid02.utils.caving.get_position_vectors(data_shape, use_cupy=False)[source]#
Creates the x,y index vector of a 2-dimensional data array
- Inputs:
data_shape (tuple): shape of the data array (2 dimensional)
use_cupy (bool): transfer the vectors to the GPU, ready to process using cupy
- Outputs:
Tuple: pair of x-y index vector
- Parameters:
data_shape (
tuple)use_cupy (
bool)