def do_mle(): """ Do MLE refinement only. :returns: int -- the return code. :raises: None """ phasing = CXPhasing() phasing.maximum_likelihood_refinement() return 0
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