kaanaksit / odak

Scientific computing library for optics, computer graphics and visual perception.
https://kaanaksit.com/odak
Mozilla Public License 2.0
176 stars 52 forks source link

Naive Point Wise hologram calculation #28

Closed KorayKavakli closed 3 years ago

KorayKavakli commented 3 years ago

Naive point-wise hologram computation added with test case. The axis of quadratic_phase_function is corrected for both numpy and torch versions.

kaanaksit commented 3 years ago

I pulled it, installed it with sudo python3 setup.py install and finally tested it with pytest. It works all fine.

P.S. pytest can be installed using:

pip3 install -U pytest