Giter Club home page Giter Club logo

holotorch's Introduction

Holotorch

Holotorch is a Fourier Optics / Coherent Imaging framework developped in PyTorch and PyTorch lightning.

The main functions are found in the folders "holotorch".

Holotorch provides the following:

  1. Simple setup of optical setups in simulation for forward modeling
    1. Optical propagators (e.g. ASM-Kernel, Optical fouriertransforms)
    2. Abstracted componenents like Source, Detector, SLMs, DoEs, etc.
  2. Complex Wavefront objects which carry more information than just a "datatensor", such as spectral and spatial information
  3. Automatic batching and saving/loading of SLM-states for more complex "Machine Learning" tasks for "Deep Optics"
  4. Abstracted code for hardware often used in research holographic displays
    1. Cameras (Flir + Ximea)
    2. SLM ( when SLM is displayed as second screen. Based on python package slmpy )
  5. Data aquisition pipelines to capture datasets that are e.g. useful for calibration procedures (e.g. Neural Holography)
  6. PyTorch Lightning Modules tailored for Computational Holography
    1. SLM-Lightning: Simple optimization algorithm based on gradient descent where we optimize for an SLM given an optical setup (e.g. Near-Eye or Far-Field)
    2. (Neural) Etendue Lightning: Joint optimization of a hologram and SLM-patterns

Best Practice

see holotorch_and_visual_studio_code.md

Example Notebook

Please navigate to SIGGRAPH_Tutorial and open "tutorial.ipynb"

The Siggraph tutorial notebook contains:

  1. Example for ASM-propagator
  2. Creating a Hologram using Double-Phase-Amplitude-Encoding (DPAC)
  3. Near-Eye Hologram (ASM-propagation) optimization
  4. Conventional Etendue Expansion with a random diffuser
  5. Neural Etendue expansion (Deep Optics) with respect to an image dataset
  6. Examples on how to save/load learned models

Contact

Contact: florianschiffers ( at ) gmail.com or florian.schiffers ( at ) u.northwestern.edu ocossairt ( at ) fb.com nathanmatsuda ( at ) fb.com

LICENSE

Shield: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

holotorch's People

Contributors

fschiffers avatar nmatsuda 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.