optixstuff._repr
================

.. py:module:: optixstuff._repr

.. autoapi-nested-parse::

   Shared formatting helper for hierarchical ``__repr__`` methods.

   Each leaf class in optixstuff (primary, detector, throughput elements,
   coronagraphs) defines its own one-line ``__repr__``; the
   :class:`OpticalPath` aggregator uses :func:`indent` to nest the
   children one level deeper. Same pattern as ``skyscapes._repr``.



Functions
---------

.. autoapisummary::

   optixstuff._repr.indent


Module Contents
---------------

.. py:function:: indent(text, prefix = '  ')

   Prefix every line of ``text`` with ``prefix``.


