code: def mne_anonymize(
      fif_fname, out_fname, keep_his, daysback, overwrite
  ):
      """Call *anonymize_info* on fif file and save.
  
      Parameters
      ----------
      fif_fname : path-like
          Raw fif File
      out_fname : path-like | None
          Output file name
          relative paths are saved relative to parent dir of fif_fname
          None will save to parent dir of fif_fname with default prefix
      daysback : int | None
          Number of days to subtract from all dates.
          If None will default to move date of service to Jan 1 2000
      keep_his : bool
          If True his_id of subject_info will NOT be overwritten.
          defaults to False
      overwrite : bool
          Overwrite output file if it already exists
      """
      raw = mne.io.read_raw_fif(fif_fname, allow_maxshield=True)
      raw.anonymize(daysback=daysback, keep_his=keep_his)
  
      # determine out_fname
      dir_name = op.split(fif_fname)[0]
      if out_fname is None:
          fif_bname = op.basename(fif_fname)
          out_fname = op.join(
              dir_name, f"{ANONYMIZE_FILE_PREFIX}-{fif_bname}"
          )
      elif not op.isabs(out_fname):
          out_fname = op.join(dir_name, out_fname)
  
      raw.save(out_fname, overwrite=overwrite)
  
imports: import os.path
  import sys
  import mne
label_desc: Use image node_id 1 for calling a global function with example usage: mne_anonymize(fif_fname, out_fname, keep_his, daysback, overwrite) without return types