GithubHelp home page GithubHelp logo

mikeireland / metrology-chip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tiphainel/metrology-chip

0.0 2.0 0.0 44.34 MB

PowerShell 0.03% Shell 0.01% Python 98.32% HTML 0.12% CSS 0.02% JavaScript 0.08% Jupyter Notebook 0.05% C++ 0.01% C 1.17% Fortran 0.05% Makefile 0.01% MATLAB 0.01% TeX 0.13%

metrology-chip's Introduction

DW_chip

Direct-write chip - Design code

I had modified my PhD code to re-write it with function.

The code is organised as follows: The constants of the problems and variables are in the folder problem_variables. The optimisation is performed by minimising a cost function that takes into account the bend radius, proximity and path length difference (between waveguides). In order to balance the contribution of the last three into the cost function, the coefficients the cost function can be changed (ie. change the coefficients by hand, re-run optimiser until the contribution are balanced as desired. Watch out, there are several local minima). There is a cost function for the fine metrology and one for the TOF. (So the code can produce a design for both (need to run them separatly)). There is also two different designs possible, with the fine metrology outputs going straight through the chip, or going at 90degrees. Before running the optimisation, the code guesses the Bezier control points, so that they are close to a solution for the optimiser to start with.

File to run for the optimisation: problem/optimiser.py main.py used for plotting known curves.

metrology-chip's People

Contributors

tiphainel avatar

Watchers

James Cloos avatar  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.