Skip to main content

Set of advanced Mock examples to test PyMoDAQ functionnalities

Project description

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)

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

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 >= 4 (except for some of them, specified in this README)

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

Project details


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-1.0.4.tar.gz (16.9 MB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for pymodaq_plugins_mockexamples-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ce34b8a1aba8440d0371977e9d65f572f652bf2481feb7f845d8d90cdfa12a62
MD5 53b45a09c55a9c47f7781df753d580a7
BLAKE2b-256 52c729bc1b982f15482c5c36eee6dcfb3286b639164aa96f3168b4f773e97bc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymodaq_plugins_mockexamples-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 84c081665478b0c86385bd15ef2e3a689225acb87205669650999eb1fe77abb7
MD5 0cea3818e2fbfe138f16b14862794bcd
BLAKE2b-256 61ef3e8498d80f5fc5cfe85e3700f9a2c471324e00385d5cb90adb6754b4c280

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page