GithubHelp home page GithubHelp logo

zhangbingxyx / objective-first Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jesselu/objective-first

0.0 1.0 0.0 48.42 MB

Objective-first approach to nanophotonic design, implemented in Matlab

Home Page: lulab.posterous.com

MATLAB 40.65% HTML 35.59% CSS 0.05% JavaScript 0.23% Mathematica 0.19% C 23.21% C++ 0.08%

objective-first's Introduction

Purpose

This package implements an "objective-first" approach to the design of nanophotonic waveguide couplers in two dimensions.

Feel free to use and modify the code, for this reason the implementation here is simple and heavily documented.

See the following paper for details on objective-first optimization: J. Lu, J. Vuckovic, "Objective-first design of nanophotonic waveguide couplers," (to be submitted)

Draft can be found at: https://github.com/JesseLu/misc/blob/master/presentations/ob1_wg_paper/paper.pdf

Installation

This package requires the basic version of Matlab, The CVX software (www.stanford.edu/~boyd/cvx) is included verbatim in this repository as well.

To install, just unzip all files in a directory. Then to use, just open matlab from the directory.

You can also run example.m to for a demo of the package. To do this, simply type 'example' in the Matlab command line.

Problem Specification

This package attempts to solve the following nanophotonic design problem; given

  1. an arbitrary input waveguide mode on the left,
  2. an arbitrary output waveguide mode on the right, and
  3. a central "design box" between the two;

find a dielectric structure within the "design box" which will convert from the input to the output waveguide mode as efficiently as possible.

Limitations

  1. There is no guarantee on the performance of the design, meaning that the user is not even guaranteed that the final design will improve upon the initial one. This is a natural outcome of employing an objective-first approach. In practice, this software routinely designs very high efficiency (~95%) couplers.
  2. Although a discretized permittivity (or dielectric structure) is usually desired, the current version of the package only limits the values of the permittivity to a continuous range. The ability to produce completely binary structures is being actively developed for the next iteration of this package.

Usage

Basic usage consists of the following three commands:

  1. setup(), determine the input and output waveguides modes;
  2. solve(), run the design algorithm;
  3. simulate(), determine the actual performance of the design.

See the example.m file for an example optimization.

Please consult the documentation of use help command, where command is setup, optimize, or simulate, for more information on how to use these commands.

License

This code is public domain and comes with no guarantees. Feel free to use it however you like.

objective-first's People

Contributors

jesselu 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.