def dump_pmean(self, filename):
warnings.warn(<EOL>"<STR_LIT>",<EOL>DeprecationWarning,<EOL>)<EOL>with open(filename, "<STR_LIT:wb>") as f:<EOL><INDENT>if self.p0.shape is not None:<EOL><INDENT>pickle.dump(numpy.array(self.pmean), f)<EOL><DEDENT>else:<EOL><INDENT>pickle.dump(collections.OrderedDict(self.pmean), f)<EOL><DEDENT><DEDENT>
Dump parameter means (``fit.pmean``) into file ``filename``.

        ``fit.dump_pmean(filename)`` saves the means of the best-fit
        parameter values (``fit.pmean``) from a ``nonlinear_fit`` called
        ``fit``. These values are recovered using
        ``p0 = nonlinear_fit.load_parameters(filename)``
        where ``p0``'s layout is the same as ``fit.pmean``. The saved
        values can be used to initialize a later fit (``nonlinear_fit``
        parameter ``p0``).