darfix.tests.test_image_operations#

Functions

dark()

data()

test_background_subtraction(data, dark)

Tests background subtraction function

test_chunk_image(data)

Tests chunk_image function

test_circular_mask()

Tests the correct creation of a circular mask

test_hot_pixel_removal(data)

Tests the hot pixel removal in stack of arrays

test_im2img_mean(dark)

Tests img2img_mean function

test_n_sphere_mask()

Tests the creation of a mask from a 3d array.

test_threshold_removal(data)

Tests the threshold of the data