.. _gallery_analysis:

Analysis
========

This section contains examples of typical analysis tasks that can be performed with the **Optiland** library. These examples are intended to be illustrative and not exhaustive. For a complete list of available functions and classes, please refer to the `Optiland` API.

.. nbgallery::
    analysis/spot
    analysis/ray_fan
    analysis/ray_fan_best_fit
    analysis/field_curvature
    analysis/distortion
    analysis/grid_distortion
    analysis/encircled_energy
    analysis/y_ybar
    analysis/rms_spot_size_vs_field
    analysis/rms_wavefront_error_vs_field
    analysis/jones_pupil
    analysis/pupil_aberration
    analysis/irradiance
    analysis/through_focus_spot_diagram
    analysis/angle_vs_image_height_through_pupil
    analysis/angle_vs_image_height_through_field
    analysis/image_simulation
    analysis/prescription
    analysis/ghost_analysis

Surface Analysis
----------------

This section contains examples of different types of surface-related analysis.

.. nbgallery::
    analysis/sag_surface_analysis