10.02.2013 Views

Diploma thesis

Diploma thesis

Diploma thesis

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

optf � FindList�ToString�optpath�,"f�"�;<br />

optf � StringReplace�ToString�optf�,�"e�"��" 10^","e�"��" 10^�","f�" �� "", "�"�� "", "�"��""<br />

optf � ToExpression�optf�;<br />

��Print�"optf: ", optf�;��<br />

optg � FindList�ToString�optpath�,"g�"�;<br />

optg � StringReplace�ToString�optg�,�"e�"��" 10^","e�"��" 10^�","g�" �� "", "�"�� "", "�"��""<br />

optg � ToExpression�optg�;<br />

��Print�"optg: ", optg�;��<br />

��calculation of n��<br />

optn :� Sqrt�opta � optb��optΛ^2�optc�� optd optΛ��optΛ^2 � opte�� optf �optΛ�optg��;<br />

iassert�optn��0�;<br />

iassert�optn�Reals�;<br />

Return�replaceSiPrefixes�optn��;<br />

�<br />

��refractive index of the z�polarized ray in ppktp��<br />

nze2�opts����:�nze2�opts��Module��optn,optΛ,optΩ, optwgwidth, optwgheight, optdn, optairBoundary<br />

optstring, optdirectory, optpath, optcoefficient, optstringdn,optdnmantissa,optdnexponent<br />

opta, optb, optc, optd,opte,optf, optg�,<br />

optΛ�getOpt�Λ,opts,defaults�;<br />

optΩ�getOpt�Ω,opts,defaults�;<br />

iassert�Not��opt��"notSet"�&&�opt��"notSet"���;<br />

If�optΛ��"notSet",optΛ:�Λ�optΩ�,""�;<br />

optΛ � replaceSiPrefixes�optΛ��Micro Meter��;<br />

iassert�opt��0�;<br />

iassert�optΛ Ε Reals�;<br />

optwgwidth�getOpt�wgwidth,opts,defaults�;<br />

iassert�optwgwidth��0�;<br />

iassert�optwgwidth Ε Reals�;<br />

��Print�"optwgwidth: ",optwgwidth�;��<br />

optwgheight�getOpt�wgheight,opts,defaults�;<br />

iassert�optwgheight ��0�;<br />

iassert�optwgheight Ε Reals�;<br />

��Print�"optwgheight: ",optwgheight�;��<br />

optdn�getOpt�dn,opts,defaults�;<br />

iassert�optdn ��0�;<br />

iassert�optdn Ε Reals�;<br />

��Print�"optdn: ",optdn�;��<br />

optairBoundary�getOpt�airBoundary,opts,defaults�;<br />

iassert�optairBoundary �� "x" �� optairBoundary �� "y" �� optairBoundary �� "z" �� optairBoundary<br />

��Print�"optairBoundary: ",optairBoundary�;��<br />

optmodesu2�getOpt�modesu2,opts,defaults�;<br />

iassert�optmodesu ��0�;<br />

iassert�optmodesu Ε Reals�;<br />

��Print�"optmodesu: ",optmodesu�;��<br />

optmodesv2�getOpt�modesv2,opts,defaults�;<br />

iassert�optmodesv ��0�;<br />

iassert�optmodesv Ε Reals�;<br />

��Print�"optmodesv: ",optmodesv�;��<br />

��gruesome code to assemble the approbriate filename��<br />

enhancedSellmeier.m 13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!