raypier.dispertion

Created on 23 Nov 2018

author

bryan

class raypier.dispersion.FusedSilica(absorption=0.0)

Bases: raypier.core.cmaterials.BaseDispersionCurve

A Dispersion curve for fused silica.

evaluate_n()

Calculates the complex refractive index for the given wavelengths.

Parameters

wavelen (double[:]) – An array-like collection of wavelength, in microns.

Returns

The refractive index for the given wavelength.

Return type

complex128[:]

class raypier.dispersion.NamedDispersionCurve(name=None, book=None, filename=None, absorption=0.0)

Bases: raypier.core.cmaterials.BaseDispersionCurve

A Dispersion curve obtained from the materials database (http://refractiveindex.info).

evaluate_n()

Calculates the complex refractive index for the given wavelengths.

Parameters

wavelen (double[:]) – An array-like collection of wavelength, in microns.

Returns

The refractive index for the given wavelength.

Return type

complex128[:]

class raypier.dispersion.NondispersiveCurve(refractive_index=1.37, absorption=0.0)

Bases: raypier.core.cmaterials.BaseDispersionCurve

A Dispersion curve for a non-dispersive material with a given refractive index and absorption.

evaluate_n()

Calculates the complex refractive index for the given wavelengths.

Parameters

wavelen (double[:]) – An array-like collection of wavelength, in microns.

Returns

The refractive index for the given wavelength.

Return type

complex128[:]