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

Vectorize signal generator functions #252

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matt-graham
Copy link
Collaborator

When running some benchmarks with large L I noticed that the signal generation functions in s2fft.utils.signal_generator become very slow for large L due to the nested for loops.

This switches to using a vectorized implementation. Currently implemented for generate_flm only.

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.07%. Comparing base (7cf80bb) to head (cc75c46).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #252   +/-   ##
=======================================
  Coverage   96.07%   96.07%           
=======================================
  Files          31       31           
  Lines        3565     3569    +4     
=======================================
+ Hits         3425     3429    +4     
  Misses        140      140           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant