fix(LamNI): lfzp_info() printed focal distance in meters labeled as mm

focal_distance was computed in meters (consistent with the rest of the
function, e.g. beam_size's own internal *1000 conversions), but the
table row printed it directly as "X.XX mm" with no conversion -- off
by 1000x (e.g. showing "0.05 mm" instead of "51.34 mm"). FlOMNI's and
OMNY's equivalent ffzp_info()/ofzp_info() already convert correctly;
fix just the display here to match, without touching the
meters-based internal variable beam_size still depends on.
This commit is contained in:
x01dc
2026-07-27 17:35:33 +02:00
parent 8b3a65606c
commit e7df1209d1
@@ -417,7 +417,7 @@ class LamNIOpticsMixin:
)
table.add_row(
f"{diameter*1e6:.2f} microns",
f"{focal_distance:.2f} mm",
f"{focal_distance*1000:.2f} mm",
f"{beam_size:.2f} microns",
)