{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# OSLO and the Single Lens - Part 2\n",
"\n",
"**EE/PHY 448/548**\n",
"\n",
"**Scott Prahl**\n",
"\n",
"**Nov 2019, Version 3**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Overview\n",
"\n",
"This is the second part of a tutorial that covers OSLO basics; specifically, how to enter lens data into OSLO. In particular, it explains how to set the size of the object and select rays to be traced.\n",
"\n",
"* The [FAQ](https://omlc.org/classroom/oslotut/faq.html) may give you a hint or two that will make the OSLO experience a bit less horrible.\n",
"\n",
"* The [first part](https://omlc.org/classroom/oslotut/simple/simple.html) of this tutorial should have gotten you to the point of entering most of the lens data into the `Surface Data` spreadsheet. \n",
"\n",
"* This tutorial is one from a list of [other tutorials](https://omlc.org/classroom/oslotut/index.html) that are available."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## New ideas\n",
"\n",
"* Setting the index of refaction\n",
"\n",
"* Using `Pickup` to automatically update cells\n",
"\n",
"* Using `Setup` to set the object height\n",
"\n",
"* Using `Autofocus - paraxial` to automatically focus\n",
"\n",
"* Force drawing of surfaces\n",
"\n",
"* Set the height of an object\n",
"\n",
"* Selecting the rays to be traced\n",
"\n",
"* Modifying the entrance beam diameter\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## The Problem\n",
"\n",
"The problem is to ray trace light from an object through a biconvex lens to the image plane.\n",
"\n",
"\n",
"\n",
"* The focal length of the lens should be 50mm \n",
"* The index of refraction of the lens is 1.5\n",
"* The object is 100mm from the lens. \n",
"* The object height is 15\n",
"* The lens diameter is 38mm\n",
"* The lens thickness is 8mm\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setting the index of refraction\n",
"\n",
"Instead of using a real glass with chromatic dispersion, we want this lens to have an index of refraction equal to 1.5\n",
"\n",
"Specifically this means that the first surface `AST` should have an index of refraction of 1.5. To do this, click on the button in the glass column of the `AST` line. Select `Direct...` from the pop-up menu and you'll see\n",
"\n",
"
\n",
"\n",
"where I have already changed the refractive index at each wavelength to 1.5. Click the green check box in the upper left hand corner of the dialog box and your `Surface Data` spreadsheet should look like\n",
"\n",
"
\n",
"\n",
"\n",
">The three wavelength are traditional optical design wavelengths and correspond to easily obtained [Fraunhofer emission lines](https://en.wikipedia.org/wiki/Fraunhofer_lines) for green, blue, and red light.\n",
"\n",
"
Helium | d-line | 587.56nm | Green |
Hydrogen | F-line | 486.13nm | Blue |
Hydrogen | C-line | 656.27nm | Red |