ewoksid02.utils.caving#

Functions

get_index_shifted(data_shape, center_x, center_y)

Calculates the x,y index vectors, shifted to recreate the centro-symmetric pixels

get_mask_limits([data_shape, center_x, ...])

Mask limits is the primitive mask, it defines the area where the cave can be applied.

get_position_vectors(data_shape[, use_cupy])

Creates the x,y index vector of a 2-dimensional data array

process_data_caving(data, Center_1, Center_2)

Performs the caving on a 3-dimensional dataset using numpy methods

shift_position_vectors(x_vector, y_vector, ...)

Shift a pair of index vectors, to point to centro-symmetric brothers