Skip to content

A Python library for simulating optical systems, similar to Zemax

Notifications You must be signed in to change notification settings

sun-data/optika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

optika

tests codecov Black Ruff Documentation Status PyPI version

A Python library for simulating optical systems, similar to Zemax.

Installation

Optika can be installed using pip:

pip install optika

Features

  • Sequential raytrace modeling
  • Spherical, conical and toroidal surface sag profiles
  • Ruled surfaces, constant, variable, and holographic line spacing
  • Circular, rectangular, and polygonal apertures
  • multilayer reflectivity and transmissivity
  • n-dimensional configurations of the optical system using named-arrays
  • uncertainity propagation using named-arrays

Example Gallery

An example of how to raytrace a Newtonian telescope using Optika:

Newtonian telescope example

Compute the reflectivity of a multilayer mirror by specifying the materials and thicknesses of the layers.

multilayer example

Model the quantum efficiency of a backilluminated CCD

QE example