dival.data module

class dival.data.DataPairs(observations, ground_truth=None, name='', description='')[source]

Bases: object

Bundles observations with ground_truth. Implements __getitem__() and __len__().

observations

The observations, possibly distorted or low-dimensional.

Type:

list of observation space elements

ground_truth

The ground truth data (may be replaced with good quality references). If not known, it may be omitted (None).

Type:

list of reconstruction space elements or None

__init__(observations, ground_truth=None, name='', description='')[source]