diff options
author | saullogiovani <saullogiovani@gmail.com> | 2014-10-17 08:14:52 +0200 |
---|---|---|
committer | saullogiovani <saullogiovani@gmail.com> | 2014-10-17 08:14:52 +0200 |
commit | 498b84a35da66bceb1b08e49ee4dcd02c870e5fe (patch) | |
tree | a4b80eb392c66f34d5aa8f6a9a8145c1265aeeec /doc | |
parent | 673ca72af2bf312ce86e6511483c950578cb20d2 (diff) | |
download | numpy-498b84a35da66bceb1b08e49ee4dcd02c870e5fe.tar.gz |
ENH: added parameter to use periodic x-coordinates
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.10.0-notes.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst index ce6a56c1c..dce8f80ec 100644 --- a/doc/release/1.10.0-notes.rst +++ b/doc/release/1.10.0-notes.rst @@ -53,6 +53,14 @@ precision floating point, to prevent integer overflow when computing the monic polynomial. It is still possible to obtain higher precision results by passing in an array of object type, filled e.g. with Python ints. +`np.interp` can now be used with periodic functions +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`np.interp` now has a new parameter `period` that supplies the period of the +input data `xp`. In such case, the input data is properly normalized to the +given period and one end point is added to each extremity of `xp` in order to +close the previous and the next period cycles, resulting in the correct +interpolation behavior. + Changes ======= |