Barak 0.3.2 documentation

barak.interp.AkimaSpline

«  barak.fitcont.spline_continuum   ::   Contents   ::   barak.interp.CubicSpline  »

barak.interp.AkimaSpline

class barak.interp.AkimaSpline(xvals, yvals)[source]

A class used to generate an Akima Spline through a set of points.

It must be instantiated with a set of xvals and yvals knot values, and then can be called with a new set of x values x. This is used by interp_Akima, see its documentation for more information.

Notes

This is adapted from a function written by Christoph Gohlke under a BSD license:

Copyright (c) 2007-2012, Christoph Gohlke Copyright (c) 2007-2012, The Regents of the University of California Produced at the Laboratory for Fluorescence Dynamics All rights reserved.

References

“A new method of interpolation and smooth curve fitting based on local procedures.” Hiroshi Akima, J. ACM, October 1970, 17(4), 589-602.

__init__(xvals, yvals)[source]
Parameters :

xvals, yvals : array_like, shape (N,)

Reference values. xvals cannot contain duplicates.

Methods

__init__(xvals, yvals)
Parameters:

«  barak.fitcont.spline_continuum   ::   Contents   ::   barak.interp.CubicSpline  »