code: def write(self, filename, append=True):
          
          header = ' '.join(['# User:', getpass.getuser(),
                             '\n# Creation date:', str(UTCDateTime()),
                             '\n# EQcorrscan version:',
                             str(eqcorrscan.__version__),
                             '\n\n\n'])
          if append:
              f = open(filename, 'a')
          else:
              f = open(filename, 'w')
              f.write(header)
          parameters = self.__dict__
          f.write(str(parameters))
          f.write('\n')
          f.close()
          return
docs: Write the parameters to a file as a human-readable series of dicts.
  
          :type filename: str
          :param filename: File to write to
          :type append: bool
          :param append: Append to already existing file or over-write.