thinfilm

package
v0.0.0-...-e356f41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Spol PolState = iota
	Ppol

	RadToDeg = 180 / math.Pi
	DegToRad = math.Pi / 180
)

Variables

This section is empty.

Functions

func MultilayerStackrt

func MultilayerStackrt(pol PolState, lambda float64, stack []NT, aoi float64, vacAmbient bool) (complex128, complex128)

func SnellAOR

func SnellAOR(n0, n1, theta complex128) complex128

func Totalr

func Totalr(M Mat2C) complex128

func Totalt

func Totalt(M Mat2C) complex128

Types

type Mat2C

type Mat2C [2][2]complex128

func CharacteristicMatrixP

func CharacteristicMatrixP(lambda, d float64, n, theta complex128) Mat2C

func CharacteristicMatrixS

func CharacteristicMatrixS(lambda, d float64, n, theta complex128) Mat2C

func MatMul2C

func MatMul2C(A, B Mat2C) Mat2C

func MatScale2C

func MatScale2C(A Mat2C, s complex128) Mat2C

type NT

type NT struct {
	T float64    // thickness
	N complex128 // refactive index
}

type PolState

type PolState int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL