def start_phasing(): """ Begin the phasing process. :returns: int -- the return code. :raises: None """ phasing = CXPhasing() phasing.setup() phasing.preprocessing() phasing.phase_retrieval() phasing.postprocessing() return 0