@@ -75,12 +75,14 @@ which you can check by
7575
7676``` @example airy-disc
7777FWHM_lateral = TF.FWHM(airypsf_3d)[1]
78+ round(FWHM_lateral; digits=3) # hide
7879```
7980
8081which gives
8182
8283``` @example airy-disc
8384FWHM_lateral * NA / λ
85+ round(FWHM_lateral * NA / λ; digits=3) # hide
8486```
8587
8688The Axial FWHM (along the optical axis) is approximately given by
@@ -93,12 +95,14 @@ and can be obtained with
9395
9496``` @example airy-disc
9597FWHM_axial = TF.FWHM(airypsf_3d)[3]
98+ round(typeof(1.0u"nm"), FWHM_axial; digits = 2) # hide
9699```
97100
98101which gives
99102
100103``` @example airy-disc
101104FWHM_axial * NA^2 / (λ * n)
105+ round(FWHM_axial * NA^2 / (λ * n); digits = 3) # hide
102106```
103107
104108The energy for a given radius of the Airy disc has a closed form expression and can be computed using the method
@@ -108,6 +112,7 @@ TransferFunctions.encircled_energy(::AiryDisc{2}, ::Length)
108112
109113``` @example airy-disc
110114TF.encircled_energy(airypsf_2d, 300u"nm")
115+ round(TF.encircled_energy(airypsf_2d, 300u"nm"); digits=3) # hide
111116```
112117
113118For a desired contained energy the correct radius can be found by [ bisection] (@extref ` Roots.Bisection ` ) which and can be computed using
@@ -119,4 +124,5 @@ TransferFunctions.energy_radius(::AiryDisc{2}, ::Real)
119124
120125``` @example airy-disc
121126TF.energy_radius(airypsf_2d, 0.05)
127+ round(typeof(1.0u"nm"), TF.energy_radius(airypsf_2d, 0.05); digits = 2) # hide
122128```
0 commit comments