Git Product home page Git Product logo

ccd-gui's Introduction

Graphical User Interface for Jobin-Yvon CCD-2000

This is a GUI program for using the Jobin-Yvon CCD-2000 spectral camera that is mounted on the Spex 750M monochromator in the Wang Lab.

This program does not control the CCD directly, since the control hardware is incompatible with modern computers. Instead, it communicates with a LabView program over TCP-IP.

Dependencies

The GUI requires the WxPython toolkit, and communication with the LabView program is handled by Wanglib. This, in turn, requires Python 2.7 with Numpy, PySerial, and Matplotlib.

To install all of this stuff, I recommend using the pip installer.

Installation

To use the program, download the source or clone it with git:

git clone https://github.com/baldwint/ccd-gui.git

The GUI should be invoked from the command line using:

python ccd_client.py

Usage

Start the CCD computer and follow the instructions in the README file on the desktop. Cooling the sensor down takes an hour or more.

Once the LabView server program is running, find the IP address using ipconfig at a DOS prompt. Invoke the client, specifying the address of the server:

python ccd_client.py --ip 128.223.xxx.xxx

Optionally, you can also connect the spectrometer via RS-232:

python ccd_client.py --ip 128.223.xxx.xxx --spec /dev/ttyUSB0

Change /dev/ttyUSB0 to the serial port you are using. On Windows, this will look like COM1.

If you do not connect to the spectrometer, you will not be able to move the grating. This may be fine, but you should provide the center wavelength (as read from the 750M window) so that the x axis is properly calibrated:

python ccd_client.py --ip 128.223.xxx.xxx --wl 800

ccd-gui's People

Contributors

baldwint avatar

Stargazers

 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.