Master script to calculate intensity vs defocus for each particle