AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

DOC: Add warning to plot_phase about zero-amplitudes #35

Closed carterbox closed 4 years ago

carterbox commented 4 years ago

Purpose

Adds a warning to a plotting function that when the amplitude of a complex number is zero, then the phase will not be recovered correctly. This will cause the images to look discontinuous because zero amplitudes will render as having phase of PI or zero.

carterbox commented 4 years ago

Test fail because of something weird with Windows.