In CS194-26 taught by Prof. Efros, one of our final project options included Computational Refocusing. We took the Stanford Light Field Archive dataset and implemented depth refocusing and aperture adjustment. If you are interested, you could take a look at the project spec. (https://inst.eecs.berkeley.edu/~cs194-26/fa17/hw/proj5/)
I took a look at the spec, thank you for sharing it!