Automated Beam-Quality Analysis
Thousands of beam images turned into answers: does each shot meet each requirement, how is the laser trending, and how rare is the worst case? I build automated ISO 11146 beam analysis, requirement-traceable compliance consoles and tail statistics.
The problem
Beam profilers produce far more images than anyone can review. Spot checks hide slow drift, and a limit that must hold for nearly every shot can't be verified by simply counting a few thousand samples.
What I build
Pipelines that compute standard beam parameters shot by shot, check them against each numbered requirement, flag trends, and estimate rare-event levels with proper statistics, packaged as tools a test technician can run.
This demonstration
Client work stays confidential, so everything below was built from scratch on synthetic images generated from textbook beam models, then tested against the known right answers.
Watching a synthetic beam degrade, shot by shot
The beam starts as a clean Gaussian, then slowly becomes elliptical, drifts off its reference point and gains higher-order content. Every number is computed from the image.
Every result traces to a numbered requirement
The automated report for the synthetic sequence, against illustrative limits.
| ID | Requirement | Limit | Shots passing | First failure |
|---|---|---|---|---|
| BQ-1 | Beam diameter D4σ (x and y) | 68–92 px | 71 of 120 | Shot 72 |
| BQ-2 | Ellipticity (ISO 11146 circular limit) | ≥ 0.87 | 62 of 120 | Shot 63 |
| BQ-3 | Gaussian agreement R² | ≥ 0.97 | 120 of 120 | None |
| BQ-4 | Pointing error from reference | ≤ 8 px | 91 of 120 | Shot 89 |
BQ-3 passes every shot while the others fail. An elliptical beam can still fit an elliptical Gaussian well, which is why one figure of merit is never enough.
Estimating the worst case you didn't sample
A requirement on the 99.97th percentile has little direct evidence in a few thousand shots, because only about one sample lies beyond it. Fitting a Generalized Pareto distribution to the largest values uses the whole tail.
On 3,000 synthetic shots from a distribution with a known answer of 8.06 px, the tail fit gave 8.05 px. The raw sample percentile gave 7.96 px.

For the engineers in the room
ISO 11146 second-moment analysis
- Baseline taken from the image border and subtracted, because second moments weight the noisy wings heavily
- Integration window iterated to convergence around the beam, sized from the current width estimate
- Centroid, σ²x, σ²y and σ²xy give D4σ in x and y, principal-axis diameters, azimuth and ellipticity
- Encircled-energy diameter (D86) from the radial cumulative energy around the centroid
Validation against known answers
- 96 synthetic beams across a grid of widths from 20 to 55 px, two orientations and random positions
- Each image includes photon noise, read noise and a camera baseline
- Ellipticity error stayed under 0.004 in every case
Why analysis tools need ground truth
- A metric that can't be tested against a known answer can't be defended in a customer review
- Synthetic beams let each step be checked alone, before real data is involved
- The same pipeline structure accepts real profiler files on a client's own data
From images to a defensible report
- Automated acceptance testing and production yield analysis
- Requirement interpretation and traceable compliance reporting
- Root-cause analysis from shot-to-shot trends
- Statistical confidence for limits that apply to nearly every shot
- Low-cost laser spot alignment checks
Stack
Drowning in beam images?
I can turn them into answers your team and your customer can trust.
Start a conversation