def write(self, filename, append=True):
header = '<STR_LIT:U+0020>'.join(['<STR_LIT>', getpass.getuser(),<EOL>'<STR_LIT>', str(UTCDateTime()),<EOL>'<STR_LIT>',<EOL>str(eqcorrscan.__version__),<EOL>'<STR_LIT>'])<EOL>if append:<EOL><INDENT>f = open(filename, '<STR_LIT:a>')<EOL><DEDENT>else:<EOL><INDENT>f = open(filename, '<STR_LIT:w>')<EOL>f.write(header)<EOL><DEDENT>parameters = self.__dict__<EOL>f.write(str(parameters))<EOL>f.write('<STR_LIT:\n>')<EOL>f.close()<EOL>return<EOL>
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.