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.
Metadata
Release files for pymodaq_plugins_basler 5.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymodaq_plugins_basler-5.1.0.tar.gz | 78.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymodaq_plugins_basler-5.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 103.5 kB
Release files / pymodaq_plugins_basler-5.1.0.tar.gz
| Download URL | pymodaq_plugins_basler-5.1.0.tar.gz |
|---|---|
| Size | 78.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
979f4b9e040c19ae17a13dcc2ead66fc9849a1779226615333e911aa1cadf0c9
|
|
BLAKE2b-256 checksum How to use checksums |
af826c182a62872c40a98475b2d5cd08181b1342270af896578ce77334909400
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.2 cpython/3.14.2 HTTPX/0.28.1
|
Release files / pymodaq_plugins_basler-5.1.0-py3-none-any.whl
| Download URL | pymodaq_plugins_basler-5.1.0-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7ab92192a546af3200c4f74b93b9c588a74df03585c8d1f37129ec3786e87cc
|
|
BLAKE2b-256 checksum How to use checksums |
b2bc083d5a05fb90b28e49740bd7639f30c47948064fe014b82067fdefd8f644
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.2 cpython/3.14.2 HTTPX/0.28.1
|