pymodaq_plugins_hamamatsu (Hamamatsu)
PyMoDAQ plugin for Hamamatsu instruments. Currently supports Hamamatsu cameras using DCAM API with PyLabLib (Viewer2D) and Hamamatsu minispectrometers using .NET driver with pythonnet (Viewer1D).
Instruments
Below is the list of instruments included in this plugin
Viewer1D
Mini-spectrometers: USB spectrometers from the Hamamatsu Mini-spectrometers series.
Viewer2D
Cameras using DCAM-API: Hardware ROI (region of interest) and binning (1x or 2x) are supported. To use ROIs, click on “Show/Hide ROI selection area” in the viewer panel (icon with dashed rectangle). Position the rectangle as you wish, either with mouse or by entering coordinates, then click “Update ROI” button.
Installation instructions
Mini-spectrometers
The specu1b.dll driver (.NET) file only is necessary for interfacing mini-spectrometers. It can be obtained either by installing Tokuspec software (default driver location is in C:\Program Files\Hamamatsu\TokuSpec) or from the originally supplied device CD.
The default driver location is used in this plugin, make sure to update its path in the python wrapper hardware/minispectro.py if you store it somewhere else.
Tested with C10083CA (TM-CCD) and C9913GC (TG-cooled NIR-I) mini-spectrometers with PyMoDAQ 4.4.7 on Windows 11.
Cameras
This part of the plugin is based on pylablib. Here are the installation instructions as explained on the library page:
These cameras require dcamapi.dll, which is installed with most of Hamamatsu software (such as HoKaWo or HiPic), as well as with the freely available DCAM API <https://dcam-api.com/>`__, which also includes all the necessary drivers. Keep in mind, that you also need to install the drivers for required corresponding camera type (USB, Ethernet, IEEE 1394). These drivers are in the same installer, but need to be installed separately. You should also pay attention to the cameras supported by the given DCAM driver version, since newer version do not support older cameras (e.g., ImageEM C9100 cameras are only supported up to version 15). After installation, the DLL is automatically added to the System32 folder, where pylablib looks for it by default.
Currently this plugin will look for the DLL in its default location. Using another location is not implemented yet, but would be straightforward.
Tested with a C11440-36U on PyMoDAQ 3.6.13 on Windows, with DCAM-API v23.6.6644. Achieving frame rates up to 64 FPS in full frame, 200 FPS by restricting the region of interest. The plugin should work on other cameras, see DCAM-API for compatibility information.
Metadata
Release files for pymodaq-plugins-hamamatsu 0.3.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_hamamatsu-0.3.0.tar.gz | 15.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymodaq_plugins_hamamatsu-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.4 kB
Release files / pymodaq_plugins_hamamatsu-0.3.0.tar.gz
| Download URL | pymodaq_plugins_hamamatsu-0.3.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e96ff0efce89bac8329bf34f0898d3be3365309052e7f396cfd9bcbc1318709f
|
|
BLAKE2b-256 checksum How to use checksums |
f6426d4a0de04706c7724c468e22b41e0eaf0ee4786e90661cb71ecaf473a4d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.11
|
Release files / pymodaq_plugins_hamamatsu-0.3.0-py3-none-any.whl
| Download URL | pymodaq_plugins_hamamatsu-0.3.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1313e17e9e66e47f596c59d20906cf195f200d69d7f4c3f18cf7142312824b4
|
|
BLAKE2b-256 checksum How to use checksums |
65d6d4ad31d6aa902e776554f7d5d29ddab4ebf8756067c0e431a1e5bf0d7a1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.11
|