Set of advanced Mock examples to test PyMoDAQ functionnalities
Project description
This PyMoDAQ plugin adds various Mock instruments to test PyMoDAQ functionalities
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymodaq_plugins_mockexamples-0.2.0.tar.gz
.
File metadata
- Download URL: pymodaq_plugins_mockexamples-0.2.0.tar.gz
- Upload date:
- Size: 16.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 194b0032c56dbdcc79036b575cee2c7f919d38d0d80fe15a8eb3e83f84a8b578 |
|
MD5 | 42de92670b149fba2168c1b27dbc4f13 |
|
BLAKE2b-256 | 6ea95ca0e822c91721e0f36e151b27e3923a4e9b8ba7d0a3ced83241a45f3e93 |
File details
Details for the file pymodaq_plugins_mockexamples-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pymodaq_plugins_mockexamples-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e4f2ccb9a4cc61a4f89b644f425bd40749d27af832f6a69b96db163e0b72bbe |
|
MD5 | 5fdbd0aa1b9e7e1db654ff0c243d9038 |
|
BLAKE2b-256 | b6b0bac96842969bcc7f138b3477ccdcbcea0868e115ef83df00ab3009ad61c3 |