Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Changed normalization in _spectral_helper() to obtain conistent scaling#8582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 2 commits intomatplotlib:masterfromDietBru:magnitude_spectrumScaling
Jun 12, 2017
Merged

Changed normalization in _spectral_helper() to obtain conistent scaling#8582

tacaswell merged 2 commits intomatplotlib:masterfromDietBru:magnitude_spectrumScaling
Jun 12, 2017

Conversation

DietBru
Copy link
Contributor

Fixes#8417.

Also a docstring ofaxes.magnitude_spectrum() is updated since it has no parameterscaling.

…ng in magnitude_spectrum() and fixed doc string.
Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good to me - is there any reason we're running our own FFT code and not just using scipy? (I presume because we don't want scipy as a dependency)

@dstansbydstansby added this to the2.1 (next point release) milestoneMay 14, 2017
@DietBru
Copy link
ContributorAuthor

As far as I understood it, the reason for having our own implementation is that the FORTRAN code in SciPy is making installation cumbersome under windows.

@WeatherGod
Copy link
Member

WeatherGod commentedMay 16, 2017 via email

1) mlab.py predates scipy and 2) yes, we have a strict rule on notdepending upon advanced packages such as scipy.This rule was originally born of the need to keep the installation assimple as possible, however it has also been a good way to help keepmatplotlib's scope in check. Yes, there are some legacy code where we aredoing some advanced things that we probably shouldn't, but they remain inthe codebase strictly for legacy reasons. It would be hard to remove thatfunctionality now since it has been present for so long.
On Sun, May 14, 2017 at 3:07 PM, Dietrich Brunn ***@***.***> wrote: As far as I understood it, the reason for having our own implementation is that the FORTRAN code in SciPy is making installation cumbersome under windows. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#8582 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AARy-HHvQFwHSWD_KuZoQkM1L2JfRrCaks5r51DhgaJpZM4NS3bY> .

Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good to me 👍

@tacaswell
Copy link
Member

Is there any way to recover the previous behavior?

Copy link
Member

@tacaswelltacaswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@DietBru
Copy link
ContributorAuthor

@tacaswell I added an example to the api_changes on how to obtain the old behavior. I don't think it makes sense to add option to the function, since the original behavior is inconsistent (different window functions make different scalings).

@tacaswelltacaswell merged commitaec1e5b intomatplotlib:masterJun 12, 2017
@tacaswell
Copy link
Member

Thanks@vollbier for all of the work you have been doing on the spectral related code!

@DietBruDietBru deleted the magnitude_spectrumScaling branchNovember 12, 2017 12:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@dstansbydstansbydstansby approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.1
Development

Successfully merging this pull request may close these issues.

4 participants
@DietBru@WeatherGod@tacaswell@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp