Skip to main content
Latest Version Documentation Status Publication Status https://github.com/PyMoDAQ/pymodaq_plugins_mockexamples/actions/workflows/Test.yml/badge.svg

This PyMoDAQ plugin adds various Mock instruments to test PyMoDAQ functionalities

Authors

Instruments

Below is the list of instruments included in this plugin

Actuators

  • MockCamera: set of X, Y or theta actuators moving a light image on the corresponding camera instrument For this to work, MockCamera actuators and detector should share the same control ID with the preset scan

  • MockNamedAxes: Show examples of multi axis actuator controller specifying both a name and an integer ID

  • MockRandom actuator to be used with the corresponding 0D detector. If they share the same ID in the preset then this actuator can be moved in the [0-20] range (even randomly) to retrieve a noisy gaussian

  • MockTauMulti: controller with multiple axes and showing how to add a characteristic time (to mimic real instruments)

  • MockHeater: actuator simulating the heating of something (in Watt). To be used with the mockHeater 0D detector

Viewer0D

  • MockAdaptive: to be used to show how a detector can be used for adaptive samplking (not working yet with PyMoDAQ4)

  • MockRandom: generate a value of a noisy gaussian given the current value of the underlying mock controller. To be used with the MockRandom actuator. If they share the same ID in the preset then this actuator can be moved in the [0-20] range (even randomly) to retrieve a noisy gaussian

  • MockHeater: detector simulating the temperature measurement of something. To be used with the mockHeater actuator

Viewer1D

  • MockSpectro: mimic data one coulf obtain from a spectrometer. Specific methods are also added to seemlessly use this detector with the Spectrometer extension (not yet working with PyMoDAQ4)

  • MockRandom: Generate a noisy Gaussian with a spread axis (to illustrate the sorting button action of the Viewer1D data viewer

  • Pinem: Generate Photon-Induced Near-field Electron Microscopy spectra. It is Electron energy loss spectroscopy from the interaction of a near-field (could be induced by a laser on a sample) and probed by the electronic beam. The coupling between the near-field and the electronic beam can be tuned using various parameters (g1, g2, theta)…

Viewer2D

  • MockCamera: if connected with a preset with the MockCamera actuator (or a few of them, X, Y and thera), then the image displayed on screen is moved or rotated accordingly to the actuators value. Perfect for a beamsteering example

  • RoiStuff: example of ROI exporting into the instrument plugin. Not yet working, planned to be ok for the future >= 4.2.* releases.

ViewerND

  • MockEvents: Simulate the acquisition of photons received on a timepix camera (position and time of arrival of each photon)

PID Models

Extensions

Installation instructions

  • PyMoDAQ >= 5 (except for some of them, specified in this README)

  • nothing in particular to be installed, they are all virtual instruments

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymodaq_plugins_mockexamples-5.3.1.tar.gz (17.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymodaq_plugins_mockexamples-5.3.1-py3-none-any.whl (17.3 MB view details)

Uploaded Python 3

File details

Details for the file pymodaq_plugins_mockexamples-5.3.1.tar.gz.

File metadata

  • Download URL: pymodaq_plugins_mockexamples-5.3.1.tar.gz
  • Upload date:
  • Size: 17.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.1 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.14.6"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.14.6","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.9.1

File hashes

Hashes for pymodaq_plugins_mockexamples-5.3.1.tar.gz
Algorithm Hash digest
SHA256 033dd9ef64bc80eed37d8c669b3fe384125bd1e25117db38ede31cf94d6bf660
MD5 f5f1793c2e35e51f7b9c152772056536
BLAKE2b-256 a9473025a0f3903bbd12f4ac31c2afac4e44c0ba6506a7c3e018d910060babdf

See more details on using hashes here.

File details

Details for the file pymodaq_plugins_mockexamples-5.3.1-py3-none-any.whl.

File metadata

  • Download URL: pymodaq_plugins_mockexamples-5.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.1 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.14.6"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.14.6","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.9.1

File hashes

Hashes for pymodaq_plugins_mockexamples-5.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6dff328e217b649367378806603090e88268a190652baec7091c82f6bd9e1d7c
MD5 3479e48474b46c6db2f0b97cc04cb86d
BLAKE2b-256 362f1f57de7279a4873880e7fbcb231e801620961a73558cf02a7c388691838b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page