PYME.misc.zemax module

Created on Fri Apr 05 11:57:53 2013

@author: David Baddeley

class PYME.misc.zemax.DefaultGlass(n=1.0, typ=2)

Bases: object

Methods

n(wavelength)
mirror = 1
n(wavelength)
refract = 2
class PYME.misc.zemax.Glass(data, typ=2)

Bases: PYME.misc.zemax.DefaultGlass

Methods

n(wavelength)
n(wavelength)
class PYME.misc.zemax.Surface(lines, glasses)

Bases: object

Methods

parseLines(lines, glasses)
parseLines(lines, glasses)
class PYME.misc.zemax.ZMX(data, glasses)

Bases: object

Methods

toPyOptic(position[, direction, fb, flip, f])
toPyOptic(position, direction=[0, 0, 1], fb=None, flip=False, f=None)
PYME.misc.zemax.decompZar(filename)

zemax .zar files are a series of concatenated, LZW compressed text-format files.

This function attempts to locate and decompress each of the sections, returning a dictionary of strings where the keys are the origninal(uncompressed) file names.

PYME.misc.zemax.readZar(filename)