zhubonan / tm4

Transition matrix optical simulations using Berreman and Yeh's methodology

Repository from Github https://github.comzhubonan/tm4Repository from Github https://github.comzhubonan/tm4

TM4

Introduction

A python package for using 4-by-4 transfer matrix methods to simulate birefringent multilayer structures.

The main topic of this research is to study the reflectance spectrum of helicoidal structures which were found in cellulose nanocrystals.

Python support: python 3.5+

Usage

Set set your PYTHONPATH environmental variable so tm4 can be imported

Modules

simClasses -- Definition of classes for simulation matTools -- Spectral imaging data processing and data loading colourTools -- Colour visulisation from spectrum linearDefect -- Calculation of spectrum of defect structures. preset -- Convenience module for fast setup of simulation conditions

Quick start

This will generate a spectrum using default setup

from tm4.preset import *
pl.plot(*s.scanSpectrum(wlRange,1))
pl.show()

About

Transition matrix optical simulations using Berreman and Yeh's methodology

License:MIT License


Languages

Language:Python 100.0%