get_images#

radionets.evaluation.utils.get_images(test_ds, num_images, rand=False, indices=None)[source]#

Get n random test and truth images or mean, standard deviation and true images from an already sampled dataset.

Parameters:
test_dsH5DataSet

data set with test images

num_imagesint

number of test images

randbool

true if images should be drawn random

indiceslist

list of indices to be used

Returns:
img_testn 2d arrays

test images

img_truen 2d arrays

truth images