he user-defined
operands. now set up the merit function by entering the following
commands:</p>

<p><strong>
    MERIT<br>
    Y 0 1,,1 2<br>
    PY 0 1 3<br>
    FUNC01 UOP1 0 1 1<br>
    FUNC01 UOP2 0 1 2<br>
    EOM<br>
</strong></p>

<p>Line #1 enters the MERIT sub-level. Line #2 targets the Y height of
Ray #2, Field #1 (predefined fields and rays list in Optimization
section of the User Manual) to zero height on the image surface with
weight of 1.0. Line #3 targets the PY paraxial ray height to 0.0 wit