pwspy.utility.DConversion.sigma2D

pwspy.utility.DConversion.sigma2D(raw_rms, noise, NAi)[source]

Converts d_size to D precisely. This function can be significantly slower than sigma2DApproximation but more closely follows the analytical solution.

Parameters
  • raw_rms (ndarray) – An array of RMS values you wish to convert.

  • noise (float) – A positive value indicating the background noise in the system in terms of RMS (E.G. the RMS of a measurement of clean glass). On the Backman lab “STORM” system this has been previously found to be 0.012. For the “LCPWS1” system it has been found to be 0.009.

  • NAi (float) – The illumination numerical aperture (NA) of the objective.

Return type

ndarray

Returns

Results from the exact solution of converting from Sigma to D. This calculation is based on derivations by Vadim Backman.