Prescription

This section covers the optical prescription report generator of the Optiland package. The prescription module allows exporting standard system data (overview, first-order parameters, geometry, materials, and aberrations) into styled console reports, plain text files, or professional PDF documents.

prescription.prescription

Prescription orchestrator.

prescription.document

Prescription Document Model

prescription.renderers.base

BaseRenderer ABC for prescription renderers.

prescription.renderers.console

ConsoleRenderer — rich terminal output.

prescription.renderers.pdf

PDFRenderer — reportlab-based PDF output.

prescription.renderers.plain_text

PlainTextRenderer — pure-Python plain text output.

prescription.sections.base

BaseSection ABC for prescription sections.

prescription.sections.first_order

FirstOrderSection — first-order / paraxial properties.

prescription.sections.seidel

SeidelAberrationSection — per-surface third-order aberration table.

prescription.sections.surface_table

Surface geometry and material table sections.

prescription.sections.system_overview

SystemOverviewSection — system-level summary.