zospy.analyses.old

Contents

zospy.analyses.old#

Old-style OpticStudio Analyses.

Deprecated since version 2.0.0: The zospy.analyses.old contains the deprecated analysis API. Migrate your analyses to the new format.

Analyses in OpticStudio are available through zospy.analyses.old. These analyses are present for compatibility reasons. It is recommended to use the new analysis API.

Examples#

Run a Single Ray Trace analysis:

>>> from zospy.analyses.old.wavefront import zernike_standard_coefficients
>>> zernike_standard_coefficients(oss, sampling="32x32", maximum_term=15)

Open an analysis for which a wrapper function is not yet available:

>>> import zospy as zp
>>> analysis = zp.analyses.new_analysis(
...     oss, zp.constants.Analysis.AnalysisIDM.ImageSimulation
... )

Modules

base

Base functionality for analyses.

extendedscene

Zemax OpticStudio analyses from the Extended Scene Analysis category.

mtf

Zemax OpticStudio analyses from the MTF category.

physicaloptics

Zemax OpticStudio analyses from the Physical Optics category.

polarization

Zemax OpticStudio analyses from the Polarization category.

psf

Zemax OpticStudio analyses from the PSF category.

raysandspots

Zemax OpticStudio analyses from the Rays and Spots category.

reports

Zemax OpticStudio analyses from the Reports category.

surface

Zemax OpticStudio analyses from the Surface category.

systemviewers

Zemax OpticStudio System Viewers.

wavefront

Zemax OpticStudio analyses from the Wavefront category.