GithubHelp home page GithubHelp logo

pydcam's Introduction

PyDCAM

Control software for Hamamatsu cameras in Python

The basic class is the DcamReader which control the and configures the camera.

The camera is read using a camera thread which waits for a new image and grabs it.

It then copies it into a numpy based circular buffer.

A publisher thread can then read the circular buffer, get a new frame and pass it on by using callbacks.

A Display is available which starts a DcamReader(+cam_thread+pub_thread) and registers a callback to the publish thread.

A zmq_publisher is also available, to use it, instantiate the class with the required parameters and register it's publish function as a callback in the publish thread.

A saver GUI is also here, which allows saving images. This registers a callback when images are requested and then unregisters it when data collection is done. It then saves the images.

To install either clone the repository and use pip install . in the root or run pip install git+https://github.com/david-jenkins/pydcam.git .

To create exe, first install pydcam then install PyInstaller with pip install pyinstaller and then run: pyinstaller --hidden-import pyqtgraph.graphicsItems.ViewBox.axisCtrlTemplate_pyqt5 --hidden-import pyqtgraph.graphicsItems.PlotItem.plotConfigTemplate_pyqt5 --hidden-import pyqtgraph.imageview.ImageViewTemplate_pyqt5 -n HamamatsuPyDCAM -F .\pydcam\bin.py

You can use Github-flavored Markdown to write your content.

pydcam's People

Contributors

david-jenkins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.