Skip to main content
Ctrl+K

ZOSPy documentation

  • ZOSPy

Contents

  • Frequently Asked Questions
  • Compatibility
  • Examples
    • Simple thick lens
    • Creating the Escudero-Sanz eye model with ZOSPy
    • Retinal illumination in pseudophakic eyes with and without Negative Dysphotopsia
    • Raytracing analyses on a Double Gauss lens
    • Polarization prism with total internal reflection
    • Patient-specific mapping of fundus photographs to three-dimensional ocular imaging
      • Patient-specific mapping of fundus photographs to three-dimensional ocular imaging - Part 1: Raytracing
      • Patient-specific mapping of fundus photographs to three-dimensional ocular imaging - Part 2: Analyses
    • Modelling of a Shack-Hartmann Sensor for eye aberration evaluation
      • Modelling of a Shack-Hartmann Sensor for eye aberration evaluation - original example
      • Fitting reverse gradient
      • Modelling of a Shack-Hartmann Sensor for eye aberration evaluation - updated example
  • Advanced usage
    • Custom object conversion between the ZOS-API and ZOSPy
  • API documentation
    • zospy.zpcore
      • zospy.zpcore.OpticStudioSystem
      • zospy.zpcore.ZOS
    • zospy.analyses
      • zospy.analyses.base
        • zospy.analyses.base.new_analysis
        • zospy.analyses.base.Analysis
        • zospy.analyses.base.AnalysisMessage
        • zospy.analyses.base.AnalysisMetadata
        • zospy.analyses.base.AnalysisResult
        • zospy.analyses.base.AttrDict
        • zospy.analyses.base.OnComplete
      • zospy.analyses.extendedscene
        • zospy.analyses.extendedscene.geometric_image_analysis
      • zospy.analyses.mtf
        • zospy.analyses.mtf.fft_through_focus_mtf
        • zospy.analyses.mtf.fft_through_focus_mtf_fromcfg
        • zospy.analyses.mtf.huygens_mtf
      • zospy.analyses.new
        • zospy.analyses.new.base
        • zospy.analyses.new.decorators
        • zospy.analyses.new.parsers
        • zospy.analyses.new.polarization
        • zospy.analyses.new.raysandspots
        • zospy.analyses.new.reports
        • zospy.analyses.new.wavefront
      • zospy.analyses.physicaloptics
        • zospy.analyses.physicaloptics.physical_optics_propagation
        • zospy.analyses.physicaloptics.pop_create_beam_parameter_dict
        • zospy.analyses.physicaloptics.pop_create_fiber_parameter_dict
      • zospy.analyses.polarization
        • zospy.analyses.polarization.polarization_pupil_map
        • zospy.analyses.polarization.transmission
        • zospy.analyses.polarization.PupilMapData
        • zospy.analyses.polarization.TransmissionData
      • zospy.analyses.psf
        • zospy.analyses.psf.huygens_psf
      • zospy.analyses.raysandspots
        • zospy.analyses.raysandspots.ray_fan
        • zospy.analyses.raysandspots.single_ray_trace
      • zospy.analyses.reports
        • zospy.analyses.reports.cardinal_points
        • zospy.analyses.reports.cardinal_points_fromcfg
        • zospy.analyses.reports.surface_data
        • zospy.analyses.reports.surface_data_fromcfg
        • zospy.analyses.reports.system_data
      • zospy.analyses.surface
        • zospy.analyses.surface.curvature
      • zospy.analyses.systemviewers
        • zospy.analyses.systemviewers.cross_section
        • zospy.analyses.systemviewers.nsc_3d_layout
        • zospy.analyses.systemviewers.nsc_shaded_model
        • zospy.analyses.systemviewers.shaded_model
        • zospy.analyses.systemviewers.viewer_3d
      • zospy.analyses.wavefront
        • zospy.analyses.wavefront.wavefront_map
        • zospy.analyses.wavefront.zernike_standard_coefficients
    • zospy.api.constants
      • zospy.api.constants.get_constantname_by_value
      • zospy.api.constants.process_constant
    • zospy.api.codecs
      • zospy.api.codecs.register_codecs
      • zospy.api.codecs.try_register_encoder
      • zospy.api.codecs.OpticStudioInterfaceEncoder
    • zospy.functions
      • zospy.functions.lde
        • zospy.functions.lde.find_surface_by_comment
        • zospy.functions.lde.get_pupil
        • zospy.functions.lde.surface_change_aperturetype
        • zospy.functions.lde.surface_change_type
        • zospy.functions.lde.PupilData
      • zospy.functions.nce
        • zospy.functions.nce.find_object_by_comment
        • zospy.functions.nce.get_object_data
        • zospy.functions.nce.object_change_type
    • zospy.solvers
      • zospy.solvers.element_power
      • zospy.solvers.fixed
      • zospy.solvers.material_model
      • zospy.solvers.pickup_chief_ray
      • zospy.solvers.position
      • zospy.solvers.surface_pickup
      • zospy.solvers.variable
  • Contributing to ZOSPy
  • Changelog
  • .md

Examples

Contents

  • Warranty and liability

Examples#

Below are examples of various functionalities and applications of ZOSPy.

  • Simple thick lens
  • Creating the Escudero-Sanz eye model with ZOSPy
  • Retinal illumination in pseudophakic eyes with and without Negative Dysphotopsia
  • Raytracing analyses on a Double Gauss lens
  • Polarization prism with total internal reflection
  • Patient-specific mapping of fundus photographs to three-dimensional ocular imaging
  • Modelling of a Shack-Hartmann Sensor for eye aberration evaluation

Warranty and liability#

The examples are provided ‘as is’. There is no warranty and rights cannot be derived from them, as is also stated in the general license of this repository.

previous

Compatibility

next

Simple thick lens

Contents
  • Warranty and liability

By Jan-Willem M. Beenakker, Luc van Vught, Corné Haasjes

© Copyright 2023 - 2025, Jan-Willem M. Beenakker, Luc van Vught, Corné Haasjes.