SkillAgentSearch skills...

RealMichelson

A simulator of Michelson interferometer.

Install / Use

/learn @royess/RealMichelson
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Real Michelson - A Python-based Michelson Interferometer Simulator.

This is a python-based simulator for the Michelson interferometer.

Features:

  • Support spectrum and colored pattern. 🌈
  • Two interactive mode
    • GUI for monochromatic light source and simple operations.
    • Jupyter notebook (or cmd, or scripting) for complicated experiment parameters.

Usage

Device Setup

Our device setup is like this:

<img src="figs/parameters.png" alt="parameters" style="zoom:30%;" />

And you can control the central location and orientation of mirrors M1, M2, and the half mirror G. You can also add light sources with varied location, light spectrum and intensity.

Examples

Jupyter notebook examples: colored_examples.ipynb. The notebook also includes illstrations for usage.

Run visual.py for the GUI program.

Dependence

Main dependence: Python3, numpy, matplotlib, PyQt5.

Acknowledgement

Codes to convert physical light spectrum to color is modified from christian's blog post.

And our GUI scipt is modified from an example in matplotlib gallery. Copyright 2005 Florent Rougon, 2006 Darren Dale, 2015 Jens H Nielsen.

The discussion with Prof. Zhaohui Zhang also helps us improve the project.

Sincerely thank them all!

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated1y ago
Forks3

Languages

Jupyter Notebook

Security Score

75/100

Audited on Mar 24, 2025

No findings