Giter Site home page Giter Site logo

harperes / rigorous-coupled-wave-analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhaonat/rigorous-coupled-wave-analysis

0.0 1.0 0.0 145.37 MB

modules for semi-analytic fourier series solutions for Maxwell's equations. Includes transfer-matrix-method, plane-wave-expansion-method, and rigorous coupled wave analysis (RCWA).

License: MIT License

Jupyter Notebook 99.42% Python 0.57% MATLAB 0.01%

rigorous-coupled-wave-analysis's Introduction

Python Rigorous-Coupled-Wave-Analysis PACKAGE

A collection of extremely inter-related semi-analytic fourier series solutions for Maxwell's equations written in python. This package actually contains three different methods:

  1. TMM: classical transfer matrix method applicable for analyzing the propagation of light through uniform, finite thickness layers
  2. Plane Wave Expansion Method: essentially solves Maxwell's equations in k-space.
  3. RCWA: a synthesis of TMM and PWEM to analyze the transmission of light through layered structures with periodic patterning

The organization of the package is centered around modules which can run a simulation for each of the three methods, given the correct inputs from the user.

Please refer to the wiki for detailed information about the status of various functionalities

Prerequisites and Installation

Make sure you have a functional version of python 3 with numpy, scipy, and matplotlib. (Python 3 is required because we use the @ symbol for matrix multiplication) Simply clone the package into your local directory and you should be ready to go.

USAGE

Right now, the package is partitioned by the type of numerical method used. Examples for each method are in the folder "method_name"_examples. These examples should give you a sense of how to use the simulation functions

Examples

We show a few exemplary examples from each method to illustrate its functionality

First TMM

TMM is usually the 'intellectual' precursor to RCWA. It assumes different layers but each layer has no structure (could be anisotropic however) A simple demonstration of TMM can be done by reproducing the spectrum of a Bragg grating. Alt Text

Or the Drude model Alt Text

PWEM

Plane wave expansion method is simply the solution of Maxwell's equations in Fourier space.

We benchmark the code using a photonic circle.

Here, we demonstrate several reconstructed modes in real space below Alt_Text

Transitioning to RCWA

RCWA is a synthesis of TMM and PWEM in that it targets layered structures whereby each layer contains some sort of periodic pattern In this package, we implement RCWA to handle layers with periodicity along one direction (perpendicular to the propagation direction) or both.

Alt Text

References https://www.osapublishing.org/josa/abstract.cfm?uri=josa-71-7-811

Authors

Nathan Zhao

rigorous-coupled-wave-analysis's People

Contributors

zhaonat avatar rayyyyy avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.