Package pyvision :: Package other :: Module optics
[hide private]
[frames] | no frames]

Module optics

source code

Created on Mar 22, 2013


Author: David S. Bolme Oak Ridge National Laboratory

Functions [hide private]
 
diffractionLimit(distance, wavelength, aperture)
This function computes the Diffraction limit of an optical system.
source code
 
apertureComputation(distance, wavelength, resolution)
This function computes the Diffraction limit of an optical system.
source code
 
fNumber(focal_length, aperture) source code
 
depthOfField(hyperfocal, distance) source code
 
hyperFocalDistance(focal_length, fnumber, circle_of_confusion, definition=2)
http://en.wikipedia.org/wiki/Hyperfocal_distance
source code
Variables [hide private]
  __package__ = None
Function Details [hide private]

diffractionLimit(distance, wavelength, aperture)

source code 

This function computes the Diffraction limit of an optical system. It returns the smallest resolvable pattern at a given wavelength and aperture.

Parameters:
  • distance - distance to the target in meters.
  • wavelength - the wavelength of the light in nanometers
  • aperture - the size of the aperture in meters.
Returns:
the resolution limit in meters

apertureComputation(distance, wavelength, resolution)

source code 

This function computes the Diffraction limit of an optical system. It returns the smallest resolvable pattern at a given wavelength and aperture.

Parameters:
  • distance - distance to the target in meters.
  • wavelength - the wavelength of the light in nanometers
  • resolution - the resolution on target in metes.
Returns:
the aperture size in meters.

hyperFocalDistance(focal_length, fnumber, circle_of_confusion, definition=2)

source code 

http://en.wikipedia.org/wiki/Hyperfocal_distance

Definition 1: The hyperfocal distance is the closest distance at which a lens can be focused while keeping objects at infinity acceptably sharp. When the lens is focused at this distance, all objects at distances from half of the hyperfocal distance out to infinity will be acceptably sharp.

Definition 2: The hyperfocal distance is the distance beyond which all objects are acceptably sharp, for a lens focused at infinity.