← Back to tutorial library

WAVERAY · Examples & Tutorials

Auto Focus Scan

Set up an auto-focus scan and search for the best focus position.

Learn how to use WaveRay for Auto Focus Scan with real, manually matched screenshots. This tutorial covers setup, execution, result interpretation and practical checks.

What this tutorial covers

Set up an auto-focus scan and search for the best focus position.

Before you start:You need access to the product and should ideally follow the tutorial using your own real parameters or data. The screenshots below were manually rematched to avoid the image/topic mismatches seen in the previous version.
Auto Focus Scan - Open the relevant module and confirm the starting state.
Open the relevant module and confirm the starting state.
Auto Focus Scan - Configure the key inputs that match the topic.
Configure the key inputs that match the topic.
Auto Focus Scan - Run the workflow and inspect the result/status.
Run the workflow and inspect the result/status.

Step-by-step workflow

1Open the module

Open Auto Focus Scan. Confirm that the visible page really matches the tutorial topic before changing any settings.

2Configure the input

Prepare and check the scan range, step size and evaluation metric.

3Run and watch the status

Set the scan controls and run the search, then compare the evaluated focus positions. Watch the visible status, plot or log area while the workflow is running.

4Inspect the result

Pay special attention to the best-focus position and the scan outcome.

5Verify and iterate

A coarse scan followed by a finer local scan is often more efficient than starting with a very small step. Change one meaningful parameter and rerun so you can verify whether the output changes in the expected direction.

How to read the result

  • The main output of this workflow is the best-focus position and the scan outcome.
  • Read the result together with the exact inputs used for the run; a screenshot alone rarely tells the whole story.
  • A coarse scan followed by a finer local scan is often more efficient than starting with a very small step.

Troubleshooting & practical tips

  • If nothing changes, first confirm that the correct module is open.
  • If the output looks unrealistic, check units, field mapping and input scale first.
  • For comparisons, change one key parameter at a time whenever possible.