code: def refine_cand(candsfile, candnum, threshold):
      
  
      reproduce.refine_cand(candsfile, candnum=candnum, threshold=threshold)
docs: Run refinement search for candnum in list_cands with abs(snr) > threshold