You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm having trouble calculating the width of a laser beam in a specific rotated coordinate system. In function: laserbeamsize.analysis.beam_size(image, mask_diameters=3, corner_fraction=0.035, nT=3, max_iter=25, phi=None, iso_noise=True) there is phi argument which fix the ellipse azimuth. But looks like it doesn't work. Here is example based on beam generation using build in function laserbeamsize.image_tools.create_test_image(h, v, xc, yc, dx, dy, phi, noise=0, ntype='poisson', max_value=255)
It seems that regardless of the declared value of the ellipse orientation, it always looks for the optimal one even if you want to calculate in specified axis. For example if I want calculate beam width in x and y axis (phi = 0 or pi), the width should be the same:
Hello, I'm having trouble calculating the width of a laser beam in a specific rotated coordinate system. In function:
laserbeamsize.analysis.beam_size(image, mask_diameters=3, corner_fraction=0.035, nT=3, max_iter=25, phi=None, iso_noise=True)
there isphi
argument which fix the ellipse azimuth. But looks like it doesn't work. Here is example based on beam generation using build in functionlaserbeamsize.image_tools.create_test_image(h, v, xc, yc, dx, dy, phi, noise=0, ntype='poisson', max_value=255)
The beam is titled by -45 degrees from x axis and looks:

The output is:
It seems that regardless of the declared value of the ellipse orientation, it always looks for the optimal one even if you want to calculate in specified axis. For example if I want calculate beam width in x and y axis (phi = 0 or pi), the width should be the same:
The output is:
124.93714721914387 124.89471657232691
The text was updated successfully, but these errors were encountered: