Skip to content

A simple simulation for 2D arrangments of basic optical elements

License

Notifications You must be signed in to change notification settings

toschoch/python-raypy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayPy2D Simple 2D Optics Simulation

author: Tobias Schoch

Overview

A simple simulation for 2D arrangments of basic optical elements

Change-Log

0.2.2
  • fix bug in sensor image plot
  • code reformat
0.2.1
  • added an plotting function for rays on sensor
  • added calculation of focus points for last element
  • debugged group append
  • fixed bug in place_relative_to
  • make emission angle configureable
  • add crossings calculation and group positioning
0.2.0
  • fixed parabolic mirror flipped
  • flipped argument for aperture outline
  • aperture outline drawing
  • fixed optical path and diffraction grating
  • fixed mirror and parabolic mirror
  • fixed plotting of parabolic mirror
  • bring back basic functionality
  • work on plotting tests
  • lens and aperture can be plotted again
  • more on plotting modularization
  • added a Rays object for facilitating the rays interpretation, some work on modularization of plotting
0.1.2
  • Renamed ImagePath -> OpticalPath
  • fixed bug in ray propagation with zero angle in parabolic mirror
0.1.1
  • fixed parabolic surface of parabolic mirror
  • rename module to raypy2d
  • rename to raypy2d as raypy is already on pypi
  • changed package name to raypy
0.1.0
  • imageing path with diffraction grating working but ParabolicMirror still flat
  • diffraction grating is working
  • object with ray fans
  • draw arcs for lenses
  • imaging path basic functionality
  • update readme
  • initial commit, basic raytrace functional
0.0.1
  • initial version

Installation / Usage

To install use pip:

pip install [email protected]:toschoch/python-raypy.git

Or clone the repo:

git clone [email protected]:toschoch/python-raypy.git
python setup.py install

Contributing

TBD

Example

TBD

About

A simple simulation for 2D arrangments of basic optical elements

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages