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

[ENH] Speedup 2D COS widget #773

Merged
merged 8 commits into from
Nov 20, 2024
Merged

Conversation

borondics
Copy link
Member

@borondics borondics commented Nov 12, 2024

50x speedup in computation and significant (> 10x) speedup in plotting

@borondics
Copy link
Member Author

This is an example how to parallelize isocurves, but we figured out that the slow part is actually the plotting, so I am removing this.

@borondics borondics marked this pull request as ready for review November 15, 2024 10:43
@markotoplak markotoplak changed the title Speedup for the 2D COS widget [ENH] Speedup 2D COS widget Nov 20, 2024
@@ -15,7 +15,7 @@
from orangewidget.utils.visual_settings_dlg import VisualSettingsDialog
from orangecontrib.spectroscopy.data import getx
from orangecontrib.spectroscopy.widgets.owhyper import ImageColorLegend
from orangecontrib.spectroscopy.widgets.owspectra import InteractiveViewBox
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove this unneeded import (found it in the lint)

@markotoplak
Copy link
Collaborator

I simplify the code a bit and intend to merge if tests pass. Thanks!

@markotoplak markotoplak merged commit 573a641 into Quasars:master Nov 20, 2024
9 of 14 checks passed
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.

2 participants