Skip to content
forked from pyMatJ/pyGTM

Python-based Generalized Transfer Matrix method for light propagation in arbitrary anisotropic multilayer stacks

License

Notifications You must be signed in to change notification settings

MahmutRuzi/pyGTM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to GTM documentation

This program implements the generalized 4x4 transfer matrix (GTM) method poposed in Passler, N. C. and Paarmann, A., JOSA B 34, 2128 (2017) and corrected in Passler, N. C. and Paarmann, A., JOSA B 36, 3246 (2019). A Matlab code can be downloaded on zenodo.

As of March 2020, it furthers implements the layer-resolved absorption method proposed in Passler, N. C., Jeannin, M. and Paarmann, A., A Matlab code is also available for this update on zenodo.

This Python implementation also relies on inputs from D. Dietze's FSRStools code https://github.com/ddietze/FSRStools

Please cite the associated publications if you use this code.

author: Mathieu Jeannin
email: mathieu.jeannin@c2n.upsaclay.fr (institutional)
math.jeannin@free.fr (permanent)
affiliations: Laboratoire de Physique de l'Ecole Normale Superieure (2019)
Centre de Nanosciences et de Nanotechnologies (2020-2021)

Installation

You should be able to install using pip install . or running python setup.py install, from the project root directory. Otherwise just copy the GTM folder somewhere where python will find it or add the path to your PYTHONPATH variable.

Prerequisite: NumPy, SciPy, Matplotlib

Documentation

See the manual on Read The Docs for the documentation.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Copyright (C) Mathieu Jeannin 2019-2021 mathieu.jeannin@c2n.upsaclay.fr.

About

Python-based Generalized Transfer Matrix method for light propagation in arbitrary anisotropic multilayer stacks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%