BaseFakeData#

class deapi.fake_data.BaseFakeData(navigator=None, signal=None, server=None)#

Bases: object

The idea of this class is to provide a base class for fake data generation.

Other classes will inherit from this class and then implement, or override certain methods.

Attributes

BaseFakeData.signal

Slice the signal array given the parameters from the server if initialized.

Methods

BaseFakeData.get_virtual_image(virtual_mask)

Get the virtual image at the given item in the navigator array.