SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S

1
2
(2)
3
(3)
4
(2)
5
(2)
6
(4)
7
(2)
8
(5)
9
(1)
10
(6)
11
(1)
12
(6)
13
(1)
14
15
16
(2)
17
(3)
18
(13)
19
(3)
20
(2)
21
22
(8)
23
(4)
24
(5)
25
(3)
26
(3)
27
(1)
28
(1)






Showing 5 results of 5

From: John H. <jd...@gm...> - 2010年02月08日 17:57:37
I just committed Ariel's csd changes to the 99 branch, and when I
attempted to merge I first got a failure and now the branch is not
showing up in the available branches. Any ideas? The branch was
listed on a 'svnmerge.py merge' command *before* the failure.
jdhunter@uqbar:mpl> svnmerge.py merge
/home/jdhunter/dev/bin/svnmerge.py:71: DeprecationWarning: The popen2
module is deprecated. Use the subprocess module.
 import sys, os, getopt, re, types, tempfile, time, popen2, locale
svnmerge: multiple sources found. Explicit source argument
(-S/--source) required.
The merge sources available are:
 /branches/v0_99_maint
 /branches/mathtex
jdhunter@uqbar:mpl> svnmerge.py merge -Sv0_99_maint
/home/jdhunter/dev/bin/svnmerge.py:71: DeprecationWarning: The popen2
module is deprecated. Use the subprocess module.
 import sys, os, getopt, re, types, tempfile, time, popen2, locale
property 'svnmerge-integrated' set on '.'
svnmerge: command execution failed (exit code: 1)
svn --non-interactive propdel "svnmerge-blocked" "."
svn: Attempting to delete nonexistent property 'svnmerge-blocked'
jdhunter@uqbar:mpl> svnmerge.py merge -Sv0_99_maint
/home/jdhunter/dev/bin/svnmerge.py:71: DeprecationWarning: The popen2
module is deprecated. Use the subprocess module.
 import sys, os, getopt, re, types, tempfile, time, popen2, locale
svnmerge: "v0_99_maint" is neither a valid URL, nor an unambiguous
substring of a repository path, nor a working directory
jdhunter@uqbar:mpl> svnmerge.py merge
/home/jdhunter/dev/bin/svnmerge.py:71: DeprecationWarning: The popen2
module is deprecated. Use the subprocess module.
 import sys, os, getopt, re, types, tempfile, time, popen2, locale
svnmerge: multiple sources found. Explicit source argument
(-S/--source) required.
The merge sources available are:
 /branches/v0_91_maint
 /branches/mathtex
 /branches/v0_98_5_maint
From: Ariel R. <ar...@be...> - 2010年02月08日 17:32:30
Hi -
the maximal difference in this case is of about 6 (units?), which is an
approximately 50% difference. This is in one point in the spectrum which has
a relatively small value - the maximal peaks in the spectra are on the order
of 1200, so in the grand scheme of things, not that horrible. Other large
differences are on the order of 4, which is approximately 5% or less of
those points.
Thanks - Ariel
PS for some reason, matplotlib-devel will not get your email unless you hit
"reply all", so they have been getting my emails, but not yours. I am not
sure whether that is what you intended, so I thought I would mention it.
On Mon, Feb 8, 2010 at 1:24 AM, Ludwig Schwardt
<lud...@gm...>wrote:
> Hi,
>
> On Mon, Feb 8, 2010 at 5:25 AM, Ariel Rokem <ar...@be...> wrote:
> > I don't think that the cause of the discrepancy is because of the
> > hamming/hanning window difference. I do set the window in the matlab part
> to
> > also be a hanning window of length nfft.
>
> I suspected you gave the same window to both, but I was just
> checking... :-) To find those smaller discrepancies might be a bit
> harder then, requiring a careful comparison of the various steps
> involved. Just for interest's sake, how big are the differences we are
> talking about?
>
> Regards,
> Ludwig
>
-- 
Ariel Rokem
Helen Wills Neuroscience Institute
University of California, Berkeley
http://argentum.ucbso.berkeley.edu/ariel
From: Jae-Joon L. <lee...@gm...> - 2010年02月08日 17:14:27
Attachments: image.png
Agg backends (in addition to the ps backend) now support
affine-transformed image.
Regards,
-JJ
On Thu, Dec 17, 2009 at 7:05 PM, Jae-Joon Lee <lee...@gm...> wrote:
> On Thu, Dec 17, 2009 at 5:03 PM, Andrew Straw <str...@as...> wrote:
>> It's not clear to me if this proposal lets one specify any arbitrary affine
>> transformation. Does it?
>
> I believe it does. 3 coordinates will define 6 equations where we have
> 6 unknowns of the affine matrix.
> The question is how user want to specify the transform.
> The extended extent keyword would be useful for the cases like the
> pseudo-perspective projection that you mentioned. But, it will not be
> very convenient for the cases like simple rotation.
>
>
>>
>> In general -- very nice. Thanks.
>>
>> In specific, I think the way you have already implemented things is
>> sufficient. I think if a user can write a little helper function (as in your
>> demo) to avoid a dumbed-down API being part of MPL, that would be best.
>> Anyone specifying their own affine transform is probably going to want a
>> pretty precise level of control, anyway. (Of course if your extent keyword
>> proposal is already a general purpose API, then please ignore this comment.)
>
> I, personally, don't like the idea that user needs to define his/her
> own transform to rotate/skew the image. Rotation and skew seems more
> like properties of the image, rather than the transform.
>
> Anyhow, unless others step in, I may leave it as is (partially because
> I don't have much use case for rotated/skewed images for now). And, I
> hope someone implement similar affine transform for other backends.
> For the backends that requires resampling (agg, etc.), it might be
> better if the affine transform is taken care during the resampling
> (i.e., in the Image.draw method) rather than to be delegated to the
> backends.
>
> Regards,
>
> -JJ
>
>>
>> -Andrew
>>
>
From: Michael D. <md...@st...> - 2010年02月08日 16:01:13
Thanks for reporting this. I wasn't aware of the issue.
Since I don't have a libpng-1.4 to verify the fix with, are you able to checkout from SVN trunk and test it?
Mike
From: Ariel R. <ar...@be...> - 2010年02月08日 03:25:57
Hi Ludwig (responding also to list),
I don't think that the cause of the discrepancy is because of the
hamming/hanning window difference. I do set the window in the matlab part to
also be a hanning window of length nfft.
Cheers,
Ariel
On Sun, Feb 7, 2010 at 7:45 AM, Ludwig Schwardt
<lud...@gm...>wrote:
> Hi,
>
> On Sun, Feb 7, 2010 at 12:46 AM, Ariel Rokem <ar...@be...> wrote:
> > I don't think that a major reworking of the logic of the function is
> needed.
> > Simply replacing the line you mentioned with:
> >
> > Pxy *= 1 / (np.abs(windowVals)**2).sum()
> > Pxy[1:-1] *= scaling_factor
> > if scale_by_freq:
> > Pxy[[0,-1]] /= Fs
>
> I agree. I was hoping the first two lines above would be sufficient.
> Then I saw scaling_factor also included Fs if scaling by frequency,
> and Pxy is of shape (numFreqs,n), i.e. not a straightforward 1-D
> array, which caused me to reserve my judgment a little bit... :-)
>
> > What does become more apparent when I do that is that in frequency bands
> in
> > which the power is rather small, the ratio discrepancies between the mlab
> > result and the matlab result can be rather large, on the order of a
> factor
> > of 2-2.5, even when the differences are tiny. Similarly, when the power
> is
> > rather large, there can be non-negligible differences between the two
> > results. Is there anything to do about that?
>
> Could this be because Matlab uses a Hamming window by default, while
> mlab uses a *Hanning* window by default? Very similar-sounding names,
> and also very similar windows numerically (but not exactly the
> same)...
>
> Ludwig
>
-- 
Ariel Rokem
Helen Wills Neuroscience Institute
University of California, Berkeley
http://argentum.ucbso.berkeley.edu/ariel

Showing 5 results of 5

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /