Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e70c4c

Browse files
committed
Update CHANGELOG and api_changes for the changes to psd and friends.
svn path=/trunk/matplotlib/; revision=6520
1 parent 4c17c1f commit 3e70c4c

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2008-12-08 Updated spectral methods (psd, csd, etc.) to scale one-sided
2+
densities by a factor of 2 and, optionally, scale all densities
3+
by the sampling frequency. This gives better MatLab
4+
compatibility. -RM
5+
16
2008-12-08 Fixed alignment of ticks in colorbars. -MGD
27

38
2008-12-07 drop the deprecated "new" keyword of np.histogram() for

doc/api/api_changes.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ list may help describe what changes may be necessary in your code.
99
Changes for 0.98.x
1010
==================
1111

12+
* Modified :func:`matplotlib.mlab.psd`, :func:`matplotlib.mlab.csd`,
13+
:func:`matplotlib.mlab.cohere`, and :func:`matplotlib.mlab.specgram`
14+
to scale one-sided densities by a factor of 2. Also, optionally
15+
scale the densities by the sampling frequency, which gives true values
16+
of densities that can be integrated by the returned frequency values.
17+
This also gives better MatLab compatibility. The corresponding
18+
:class:`matplotlib.axes.Axes` methods and :mod:`matplotlib.pyplot`
19+
functions were updated as well.
20+
1221
* Font lookup now uses a nearest-neighbor approach rather than an
1322
exact match. Some fonts may be different in plots, but should be
1423
closer to what was requested.

0 commit comments

Comments
 (0)