Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This Python repository contains a template script to write binary source files for OpticStudio. It also contain an example implementing the envelope of a stigmatic gaussian beam source as described by P. Colbourne (http://dx.doi.org/10.1117/12.2071105)

License

Notifications You must be signed in to change notification settings

Omnistic/BinarySource_OpticStudio

Open more actions menu

Repository files navigation

BinarySource_OpticStudio

This Python repository contains a template script to write binary source files for OpticStudio. It also contain an example implementing the envelope of a stigmatic gaussian beam source as described by P. Colbourne (http://dx.doi.org/10.1117/12.2071105)

Python scripts

  • write_source_TEMPLATE.py
  • write_source_stigmatic_gaussian_beam.py

Note that if one wants to use spectral information in each ray, the file extension should be SDF, and not DAT

Examples of binary source files generated with the Python scripts

Those files have to be placed in your document folder under \Zemax\Objects\Sources\Source Files

  • binary_source.dat
  • stigmatic_gaussian_beam.dat

OpticStudio archive demonstrating the Gaussian beam example

By loading this archive into OpticStudio, it automatically installs the stigmatic Gaussian beam source file into the correct location

  • Stigmatic_Gaussian_Beam_Binary_Source_Example.zar

About

This Python repository contains a template script to write binary source files for OpticStudio. It also contain an example implementing the envelope of a stigmatic gaussian beam source as described by P. Colbourne (http://dx.doi.org/10.1117/12.2071105)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.