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:
@@ -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",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user