phileas.mock_instruments#

This module defines simulated instruments drivers and loaders. They can be used for testing, or to demonstrate features, among others.

Classes

CurrentProbe([last_measurement, ...])

CurrentProbeLoader(name, instruments_factory)

ElectricFieldProbe(motor)

Simulation of the electric field radiated by an electric dipole.

Motors([x, y, id])

Simulated 2D motors driver.

MotorsLoader(name, instruments_factory)

Loader of simulated 2D motors.

Oscilloscope(probe[, id, width])

Simulated 8-bit oscilloscope driver.

OscilloscopeLoader(name, instruments_factory)

Loader of a simulated oscilloscope.

Probe()

Measurement probe interface.

RandomProbe([shape])

Probe which returns random values in [0, 1], using {py:func}`numpy.random.rand`.

SimulatedPRESENTImplementation(...[, probe, ...])

Simulation of an embedded PRESENT implementation.

SimulatedPRESENTImplementationLoader(name, ...)

Loader of a simulated PRESENT implementation, used for SCA.