Skip to main content

A python API developed by the University of Saskatchewan Atmospheric Research Group to interface with Ansys Zemax OpticStudio.

Project description

SkZemax - Still In Development

Documentation Status pre-commit.ci status

This package provides a class skZemaxClass() to interface with the PythonStandaloneApplication() class of Zemax. All of the things one does in Zemax (and in some cases more) is exposed by the base API of Zemax (ZOS-API). The PythonStandaloneApplication() class is a boiler plate class that runs Zemax in a standalone way entirely through python code using this API.

However, much of ZOS-API is spread out, inconvenient, and in many cases just doesn't work as intended. The purpose of this work, and that of skZemaxClass(), is to provide convenient encapsulated (and actually working) functions in python which execute Zemax operations while making life easier on a user.

To use this package (or the API in general), the user will need some familiarity with the ZOS-API. The best place for documentation is to open Zemax and click on Help->ZOS-API Syntax Help' and Help->Help PDF.

See the examples in docs\Examples which show how to use skZemaxClass() to execute some of the examples included with Zemax in Documents\Zemax\ZOS-API Sample Code\Python.

Installation

The package can be installed through conda with

conda install -c usask-arg skZemax

and the latest nightly available version is available through

conda install -c usask-arg-nightly skZemax

Usage

Documentation can be found at https://skZemax.readthedocs.io/

License

This project is licensed under the MIT license

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skzemax-0.0.1b0.post0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skzemax-0.0.1b0.post0-py3-none-any.whl (791.9 kB view details)

Uploaded Python 3

File details

Details for the file skzemax-0.0.1b0.post0.tar.gz.

File metadata

  • Download URL: skzemax-0.0.1b0.post0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for skzemax-0.0.1b0.post0.tar.gz
Algorithm Hash digest
SHA256 f99f2e2b97f51b51991b24a13b5a24d0d2a22a0588cd8920c94e4c5708557879
MD5 b33194f61678f1c27baf3b5d45323f3d
BLAKE2b-256 c1f2f9659b2196323aa36414bfdca1b7053ff6375ad77958dee322d11c8183a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for skzemax-0.0.1b0.post0.tar.gz:

Publisher: release.yml on usask-arg/skZemax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skzemax-0.0.1b0.post0-py3-none-any.whl.

File metadata

  • Download URL: skzemax-0.0.1b0.post0-py3-none-any.whl
  • Upload date:
  • Size: 791.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for skzemax-0.0.1b0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8c4309ac25be1329a1dfcc91e5ed45268356da7c411665f8ea12f83f90af34e
MD5 78c26b544f7e668ad9f8d0af381f200c
BLAKE2b-256 798348a964b5639b088c09709c127e8867fa446f5f814d087eba67ce3fecc078

See more details on using hashes here.

Provenance

The following attestation bundles were made for skzemax-0.0.1b0.post0-py3-none-any.whl:

Publisher: release.yml on usask-arg/skZemax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page