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

pip install 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.1b3.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.1b3.post0-py3-none-any.whl (791.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skzemax-0.0.1b3.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.1b3.post0.tar.gz
Algorithm Hash digest
SHA256 fe1d1875b0502252ff88d8c05d1a145646e89077786b9a292411896fbeffb0cb
MD5 b5e4d4fe93492071dcddc63172a91147
BLAKE2b-256 a44610969fb23370d1db91b63f3eb79f10f931f9f4bd945ddaf0980d2bcccc39

See more details on using hashes here.

Provenance

The following attestation bundles were made for skzemax-0.0.1b3.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.1b3.post0-py3-none-any.whl.

File metadata

File hashes

Hashes for skzemax-0.0.1b3.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 785722f55fa95439a9740ed2565e480ad16471b274f3ea914b6d849d226cd95a
MD5 0e163901c5441e9c0acabaf41683b2ea
BLAKE2b-256 a030d3712420718285988a70c621c5acd771831917cfd67a24a64f009e639d2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for skzemax-0.0.1b3.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