add unit/integrted tests for dpc

Yes

On Fri, Dec 5, 2014, 14:31 thegreatwall <notifications@github.com> wrote:

> In skxray/dpc.py:
>
> > +
> > +    tol : float, optional
> > +        Termination criteria of nonlinear fitting.
> > +
> > +    max_iters : integer, optional
> > +        Maximum iterations of nonlinear fitting.
> > +
> > +    Returns
> > +    -------
> > +    tuple
> > +        Fitting result: intensity attenuation and phase gradient.
> > +
> > +    """
> > +
> > +    return minimize(rss, start_point, args=(ref_f, f), method=solver, tol=tol,
> > +                    options=dict(maxiter=max_iters)).x[:2]
>
> By saying 'harmful in the short run', you mean there is one additional
> layer of function call?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Nikea/scikit-xray/pull/177/files#r21394059>.
>