components.instrument

Module Contents

Classes

Instrument

This class represents Datasets that are mapped from other datasets using a given model

class components.instrument.Instrument(name)

Bases: Storage

This class represents Datasets that are mapped from other datasets using a given model

This can be used to convert the input of a sensor to its actual physical data using the given model, for example polynomials or lookup tables.

Parameters

name (str) – the name of the instrument

Examples

instrument = Instrument(‘instrument1’)

instrument.add([model1, model2])

add(self, list_obj)

add (multi) model(s) into instrument

Parameters

list_obj (List[Model]) – a list of Model object(s)

Raises

AssertionError: – raise when adding method fails