Python workflow for segmenting multiphase flow in porous rocks - Spurin, Catherine (arXiv.org)