Skip to main content

A software tool to improve microscope alignment

Project description

BeamDelta

Alignment tool

Copyright Nicholas Hall, David Pinto, Ian Dobbie (2019)

A simple GUI interface for python-microscope which allows a compatible camera (see python-microscope compatibility list) to be used for optical alignment purposes. The Gui will display live images, calculate and mark beam centroids and then store an alignment centroid position. Once a position is stored the live centroid then displays a pixel based delta position to allow precise alignment between the marked position and the new beam.

Called from the command line using the following format:

"BeamDeltaUI [exposure_time] [camera_1_uri] [camera_2_uri]"

"exposure_time" has a default value of 150 ms and can be set bu adding the flag --exposure-time. The camera URIs have the following format:

"PYRO:[microscope_device_name]@[ip_address]:[port]"

Suggested uses:

Centering lenses within an optical setup.

  1. align the system with no lenses present using a laser or similar well collimated beam.
  2. position camera in beam.
  3. mark centroid.
  4. add first lens and check centroid.
  5. shift lens in X and Y (perpendicular to optic axis) to align centroids.
  6. check for back reflection to ensure the lens is perpendicular to optic axis
  7. repeat 5 & 6 until no change.

Co-aligning two beams

  1. start with one correctly aligned beam.
  2. construct a dual camera setup (description needed!)
  3. mark centroids on both cameras.
  4. turn of first beam, turn on second beam
  5. use two mirrors to walk the beam (description needed) so it matches both centroids.

Required Python version: Python 3.6.3

Required Python packages: sys, argparse, PyQt5, numpy, skimage, scipy and microscope

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for BeamDelta, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size BeamDelta-1.0.0-py3.7.egg (11.2 kB) File type Egg Python version 3.7 Upload date Hashes View hashes
Filename, size BeamDelta-1.0.0-py3-none-any.whl (18.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size BeamDelta-1.0.0.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page