DiamondLightSource / PySIMRecon

Easy to use wrapper for pyCUDAsirecon, allowing the use of DV files without PRIISM
GNU General Public License v3.0
0 stars 2 forks source link

Changed otf view display amplitude and phase and not real and imaginary #44

Closed iandobbie closed 2 months ago

iandobbie commented 2 months ago

Did this at home on my mac so not easy to test it but changed the real and imaginary components to the much more useful amplitude and phase. ie complex numbers as polar. This is more useful as this better describes the imaging process with amplitude and phase shift.

Also remapped the phase component to have a gamma of 1 as a linear colour map on phase is much more useful.

iandobbie commented 2 months ago

Now tested, and this displays the otfs as I would expect. Needed a syntax fix.