Posts with the tag optics

Creating a Gaussian Window in 3D Using Matlab

If you want to create a gaussian window with Matlab in three dimensions (as you can do in two dimensions with the built-in gausswin()) you can use the function gauss3D() found on MATLAB Central:

S = gauss3D(20,20,7);

Read on

New Focus Picomotor Ethernet Controller 8752 – TCP/IP Control

We use the modules 8752 and 8753.

List of commands

Common Commands

Syntax Command Manual Page
AIN <device> <channel> Read/Display Analog Input 61
DEF Load Default Parameters 62
DIAG <driver> Display Diagnostics Byte from Device 62
IN <device> <channel> Query State of Digital Inputs 89
LOCK Lock Out Other Input Devices 63
MAP <joystick-device>=<driver> Set/Display Device-to-Joystick Mappings 64
OUT <device> <channel>=<value> Set Digital Output 65
SAV Save Parameters 65
UNLOCK Unlock Other Input Devices 66
VER Query Firmware Version 66

Picomotor Control Commands

<table class="table...

Read on

Light Wavelength from Energy

You can use the following Python function to convert a photon energy (in electron volts) to the corresponding wavelength (in nano meters):

def wavelength_from_energy ( electron_volts):
    """Returns a photon wavelength in nm from a photon energy given in eV."""

Read on

Shimadzu 30-002 - Laminar-type Replica Diffraction Grating for the Soft X-ray Region

This is a fancy flat-field focusing, holographic grating as opposed to the previously used Rowland gratings.

Product Description

  • Aberration-corrected Laminar-type Replica Diffraction Gratings for flat-field Polychromators in the range of Extreme Ultra-Violet Light(EUV:13nm). Suitable for the next generation of semiconductor lithography.
  • Less high order light due to laminar type grooves configuration, Low...

Read on

Estimate the transform limited beam duration of a laser pulse from its spectral width in nm in Python

A transform limited pulse has a time-bandwidth product of for Gaussian beams.

Here are a couple of Python functions to find the minimum duration of a gaussian pulse with a certain spectral FWHM (measured in nm) at a given central wavelength plus the...

Read on

Convert between plus-cylinder and minus-cylinder notation in eyeglass prescription writings using Python

Doctors in Germany usually give out prescriptions with negative values for the cylinder. Some eyeglass manufacturers list their products with plus-cylinder notation so the optometrists have to convert the notations.

Online Converter

If you want to convert your prescription writings, I created this online tool to convert your values:

Convert Cylindrical Notation


Read on