Source code for holography procedure