Skip to main content

PyMoDAQ plugins for cameras of Basler

Project description

Latest Version Publication Status https://github.com/BenediktBurger/pymodaq_plugins_basler/actions/workflows/Test.yml/badge.svg

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.

Authors

  • Benedikt Burger

  • Romain Geneaux

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

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_basler-5.1.0.tar.gz (78.1 kB view details)

Uploaded Source

Built Distribution

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

pymodaq_plugins_basler-5.1.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

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

Hashes for pymodaq_plugins_basler-5.1.0.tar.gz
Algorithm Hash digest
SHA256 979f4b9e040c19ae17a13dcc2ead66fc9849a1779226615333e911aa1cadf0c9
MD5 8b75abe5d4c1c4079a2f63095158d9ae
BLAKE2b-256 af826c182a62872c40a98475b2d5cd08181b1342270af896578ce77334909400

See more details on using hashes here.

File details

Details for the file pymodaq_plugins_basler-5.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pymodaq_plugins_basler-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7ab92192a546af3200c4f74b93b9c588a74df03585c8d1f37129ec3786e87cc
MD5 3f480a1ccc22b81c3231ccc96f2f2f4b
BLAKE2b-256 b2bc083d5a05fb90b28e49740bd7639f30c47948064fe014b82067fdefd8f644

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 Pingdom Monitoring Sentry Error logging StatusPage Status page