https://github.com/zhubonan/tm4
Transition matrix optical simulations using Berreman and Yeh's methodology
https://github.com/zhubonan/tm4
Last synced: 2 months ago
JSON representation
Transition matrix optical simulations using Berreman and Yeh's methodology
- Host: GitHub
- URL: https://github.com/zhubonan/tm4
- Owner: zhubonan
- License: mit
- Created: 2020-09-16T14:46:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-16T15:55:02.000Z (over 4 years ago)
- Last Synced: 2025-02-05T11:52:55.868Z (4 months ago)
- Language: Python
- Size: 4.78 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 conditionsQuick start
-------------This will generate a spectrum using default setup
```
from tm4.preset import *
pl.plot(*s.scanSpectrum(wlRange,1))
pl.show()
```