Closed tfarago closed 4 years ago
In order to keep #204 simple, I would do this with respect to pixel size rather than distance if you are OK with it @pretzsch
@MathiasHurst just bringing you in here.
I think to specify the distance is much more intuitive for this use case. Maybe it would be easier to have separate filters for directional phase retrieval instead of enabling directional phase retrieval for all filters.
Alright, after discussion with Rebecca we came to the same conclusion. However, I wouldn't make separate filters because that would clutter both ufo-filters and tofu. At least for now, let's see what I come up with in #204.
can you implement it in such a way, that if only one direction is specified the behaviour is the same as now? I think otherwise could be confusing, since the directional phase retrieval is a quit specific application.
That's exactly how I did it.
Seems to work as expected, thanks!
i.e., separate x and y directions and let users specify effective propagation distance separately (z_x k_x^2 + z_y k_y^2).