slmsuite.holography.toolbox.convert_blaze_radius
- convert_blaze_radius(radius, from_units='norm', to_units='norm', slm=None, shape=None)[source]
Helper function for scalar unit conversions. Uses
convert_blaze_vector()
to deduce the (average, in the case of an anisotropic transformation) scalar radius when going between sets of units.- Parameters
radius (float) – The scalar radius to convert.
from_units (str) – Passed to
convert_blaze_vector()
.to_units (str) – Passed to
convert_blaze_vector()
.slm (
SLM
ORCameraSLM
OR None) – Passed toconvert_blaze_vector()
.shape ((int, int) OR None) – Passed to
convert_blaze_vector()
.