def METHOD_NAME(params, mtz_pdb_pair):
  fn_mtz, fn_pdb = mtz_pdb_pair
  #
  import iotbx.pdb
  xs = iotbx.pdb.input(file_name=fn_pdb).xray_structure_simple()
  xs.show_summary()
  xs.scattering_type_registry(table="it1992").show()
  print()
  #
  f_obs = None
  i_obs = None
  import iotbx.mtz
  mtz_obj = iotbx.mtz.object(file_name=fn_mtz)
  for ma in mtz_obj.as_miller_arrays(crystal_symmetry=xs):
    print(ma.info())
    if (f_obs is None and ma.is_xray_amplitude_array()):
      f_obs = ma
    elif (i_obs is None and ma.is_xray_intensity_array()):
      i_obs = ma
  print()
  if (i_obs is None):
    assert f_obs is not None
    c_obs = f_obs
    f_obs.show_comprehensive_summary()
    i_obs = f_obs.f_as_f_sq(algorithm="shelxl")
  else:
    c_obs = i_obs
    i_obs.show_comprehensive_summary()
    f_obs = i_obs.f_sq_as_f(algorithm="xtal_3_7")
  print()
  #
  if (len(params.optimizers) == 0):
    return
  #
  from cctbx.omz.cod_refine import process_continue
  process_continue(
    params=params,
    cod_id=op.basename(fn_pdb),
    c_obs=c_obs, i_obs=i_obs, f_obs=f_obs,
    structure_prep=xs)