A Appendix A.1 Forward simulation of programmable 3D snapshot microscope