Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid in-place normalization in ndpac #6

Closed
wants to merge 5 commits into from

Conversation

raphaelvallat
Copy link
Contributor

Hello @EtienneCmb!

I was playing around with amazing TensorPac today, and I noticed that the tensorpac.methods.ndpac() function is doing an in-place normalization of the amplitude. I understand this is probably to limit memory usage but I think this is not optimal for users, like myself, who prefer to use directly the "raw" functions in tensorpac.methods rather than the Pac main class.

Let me know what you think! I am also happy to add this change to the documentation changelog.

A+ :-)

@codecov
Copy link

codecov bot commented Mar 15, 2020

Codecov Report

Merging #6 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop     #6   +/-   ##
======================================
  Coverage      100%   100%           
======================================
  Files            2      2           
  Lines          117    117           
======================================
  Hits           117    117

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a257d56...3adfa20. Read the comment docs.

@EtienneCmb
Copy link
Owner

@raphaelvallat, nice to see you here,

I do agree with you. However, I realized that the develop branch is way behind the master branch. Could you please make your modifications on the master branch?

Merci mec !

++

@k-jerbi
Copy link

k-jerbi commented Mar 15, 2020 via email

@raphaelvallat raphaelvallat changed the base branch from develop to master March 15, 2020 16:07
@raphaelvallat raphaelvallat deleted the develop branch March 15, 2020 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants