Skip to content

Commit

Permalink
Merge pull request #102 from Jashcraf/docs_update
Browse files Browse the repository at this point in the history
Update landing page, remove zosapi as requirement
  • Loading branch information
Jashcraf authored Dec 22, 2023
2 parents 1dd292c + 5c6d6a9 commit c21478a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
25 changes: 18 additions & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,32 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to poke's documentation!
Welcome to Poke's documentation!
================================
poke is a polarization ray tracing and gaussian beamlet decomposition module in python. It is meant to link commercial ray tracing engines with open-source diffraction models for comprehensive integrated optical performance modeling.
Poke is a ray-based physical optics package that aims to better integrate raytrace models with diffraction models, and add more physics to the optical modeling pipeline. Poke was developed as a part of a NASA Space Technology Graduate Research Opportunity which emphasised modeling of astronomical telescopes equipped with coronagraphs, but is applicable to a wide range of optical modeling problems.

Summary
------------

**What this software does:**

* Compute Jones Pupils from Zemax OpticStudio sequential optical systems
* Compute OPD experienced by a given ray set
* Perform diffraction simulation with Gaussian Beamlet Decomposition

* Allows the users to run raytraces of optical systems in Ansys Zemax OpticStudio (Zemax) and SYNOPSYS CODE V through the Rayfront class
* Access the optical path difference (OPD) of a given wavefront computed with ray data
* Compute the polarization aberrations of an optical system with *polarization ray tracing*
* Perform physical optics propagation with *Gaussian beamlet decomposition*
* Simulate and design multilayer thin film stacks
* Permits the reading and writing of Rayfront data to a binary file for broad distribution of optical system data that isn't limited to a raytrace

**Soft Requirements**
Using Poke requires that at least one person in your workflow has access to Zemax or CODE V, which require the following packages that are not installed by default with Poke
* *Zemax*: `zosapi by Michael Humphreys <https://github.com/x68507/zosapi>`
* *CODE V*: `pywin32 by Mark Hammond et al, which may be installed by default <https://pypi.org/project/pywin32/>`
Furthermore, there are some raytracer-specific quirks with using Poke and running raytraces in Jupyter/IPython notebooks, see `Using Jupyter Notebooks & Raytracer Specifics <https://poke.readthedocs.io/en/latest/notebooks/using_ipython.html>` for guidance on navigating them.

**Getting Started**
To get started with your first Rayfront model, check out `Intro to Poke: The Rayfront <https://poke.readthedocs.io/en/latest/notebooks/rayfrontattributes.html>`_
.. toctree::
:maxdepth: 2
:maxdepth: 1
:caption: Contents:

modules
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
numpy>=1.23.5
matplotlib>=3.6.2
zosapi==0.2
numexpr>=2.8.4
msgpack>=1.0.5
msgpack-numpy>=0.4.8
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ packages = find:
install_requires =
numpy>=1.23.5
matplotlib>=3.6.2
zosapi==0.2
numexpr>=2.8.4
msgpack>=1.0.5
msgpack-numpy>=0.4.8
Expand Down

0 comments on commit c21478a

Please sign in to comment.