Algorithmic self-calibration for optimized 3D differential phase contrast microscopy