Git Product home page Git Product logo

diffraction-demos's Introduction

diffraction-demos

A few diffraction demos from the lesson on 2 March

Diffraction demo 1D

This demo uses the Fast Fourier transform to compute the diffraction integrals for numerous apertures. The first cell contains all the functions required to do this and the cells afterwards contain demoes using this. (Although it includes a function for a straight edge, this doesn't work, which makes sense when you think about how the program works)

Diffraction demo 2D

This demo also uses the Fast Fourier transform to compute the diffraction integrals for numerous apertures.

How to

The code can be run online at the following page: Binder. You should see a file explorer, and you can click on the demos to look at them, run them and even edit them, although any changes are not saved.

If you want to experiment more with coding, the instructions here should work, although I would ignore the bit on setting up docker containers, after which you can download the files from this repository and run them yourself following the instructions. To learn some more programming, this course may be a decent place to start, but I would obviously say that because I was part of the team that made it.

If you notice any errors/ have any feedback feel free to drop me an email at [email protected] or to contribute to this project.

diffraction-demos's People

Contributors

ti250 avatar

Watchers

 avatar

diffraction-demos's Issues

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.