PyMoDAQ plugins for cameras of Basler
Project description
Set of PyMoDAQ plugins for cameras by Basler, using the pypylon library. It handles basic camera functionalities (gain, exposure, ROI) and more advanced functionalities can be added by modifying a config file described below. The data is emitted together with spatial axes corresponding either to pixels or to real-world units (um). The pixel size of different camera model is hardcoded in the hardware/basler.py file. If the camera model is not specified, the pixel size is set to 1 um and can be changed manually by the user in the interface.
The plugin has been tested using acA640-120gm, acA1920-40gm, and puA1600-60um camera models. It is compatible with PyMoDAQ version greater than 4.4.7.
Config files are needed for different camera models. Examples for the acA1920-40gm and puA1600-60um camera models are given in the resources directory. The name of the config file should be config_<model_name> where <model_name> is the output of tlFactory.EnumerateDevices()[camera_index].GetModelName(). The module will look for this file in the ProgramData/.pymodaq folder in Windows and /etc/.pymodaq folder in Linux and if not found, a default config file can be created upon camera initialization. The config file is a JSON which is expected to contain entries according to the ParameterTree structure of PyMoDAQ plugin parameters. The name of an entry is either a Group Parameter or the underlying camera feature, which must have the name that is used by the API, i.e. ExposureTime or GainRaw.
Instruments
Below is the list of instruments included in this plugin
Actuators
Viewer0D
Viewer1D
Viewer2D
Basler: control of Basler cameras
PID Models
Extensions
Installation instructions
You need the manufacturer’s driver Pylon for the cameras.
Here are complete installation instructions.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymodaq_plugins_basler-5.1.0.tar.gz.
File metadata
- Download URL: pymodaq_plugins_basler-5.1.0.tar.gz
- Upload date:
- Size: 78.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.2 cpython/3.14.2 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
979f4b9e040c19ae17a13dcc2ead66fc9849a1779226615333e911aa1cadf0c9
|
|
| MD5 |
8b75abe5d4c1c4079a2f63095158d9ae
|
|
| BLAKE2b-256 |
af826c182a62872c40a98475b2d5cd08181b1342270af896578ce77334909400
|
File details
Details for the file pymodaq_plugins_basler-5.1.0-py3-none-any.whl.
File metadata
- Download URL: pymodaq_plugins_basler-5.1.0-py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.2 cpython/3.14.2 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7ab92192a546af3200c4f74b93b9c588a74df03585c8d1f37129ec3786e87cc
|
|
| MD5 |
3f480a1ccc22b81c3231ccc96f2f2f4b
|
|
| BLAKE2b-256 |
b2bc083d5a05fb90b28e49740bd7639f30c47948064fe014b82067fdefd8f644
|