manoharan-lab / holopy

Hologram processing and light scattering in python
GNU General Public License v3.0
131 stars 50 forks source link

Background Grayscale changes #418

Closed nan20220609 closed 7 months ago

nan20220609 commented 1 year ago

Using calc_holo to calculate the particle hologram and hp.propagate to reconstructe in different z, it was found that the z-background grayscale changed significantly.

holo = calc_holo(detector, sphere, medium_index, illum_wavelen, illum_polarization=(0, 1), theory='auto') rec_vol = hp.propagate(holo, z)

As shown in the following figure: rec_vol_1000 rec_vol_1500 Does anyone know why?

vnmanoharan commented 7 months ago

Propagation and reconstruction return an array of complex quantities, so the background will depend on which real quantity you are plotting: amplitude, phase, or intensity. Plotting the phase, for example, will show variations in the background with z. Variations in background can also arise from out-of-focus objects.