From: <ry...@us...> - 2008-12-08 21:23:09
|
Revision: 6520 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6520&view=rev Author: ryanmay Date: 2008-12-08 21:23:04 +0000 (Mon, 08 Dec 2008) Log Message: ----------- Update CHANGELOG and api_changes for the changes to psd and friends. Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/doc/api/api_changes.rst Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008-12-08 21:16:04 UTC (rev 6519) +++ trunk/matplotlib/CHANGELOG 2008-12-08 21:23:04 UTC (rev 6520) @@ -1,3 +1,8 @@ +2008-12-08 Updated spectral methods (psd, csd, etc.) to scale one-sided + densities by a factor of 2 and, optionally, scale all densities + by the sampling frequency. This gives better MatLab + compatibility. -RM + 2008-12-08 Fixed alignment of ticks in colorbars. -MGD 2008-12-07 drop the deprecated "new" keyword of np.histogram() for Modified: trunk/matplotlib/doc/api/api_changes.rst =================================================================== --- trunk/matplotlib/doc/api/api_changes.rst 2008-12-08 21:16:04 UTC (rev 6519) +++ trunk/matplotlib/doc/api/api_changes.rst 2008-12-08 21:23:04 UTC (rev 6520) @@ -9,6 +9,15 @@ Changes for 0.98.x ================== +* Modified :func:`matplotlib.mlab.psd`, :func:`matplotlib.mlab.csd`, + :func:`matplotlib.mlab.cohere`, and :func:`matplotlib.mlab.specgram` + to scale one-sided densities by a factor of 2. Also, optionally + scale the densities by the sampling frequency, which gives true values + of densities that can be integrated by the returned frequency values. + This also gives better MatLab compatibility. The corresponding + :class:`matplotlib.axes.Axes` methods and :mod:`matplotlib.pyplot` + functions were updated as well. + * Font lookup now uses a nearest-neighbor approach rather than an exact match. Some fonts may be different in plots, but should be closer to what was requested. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |