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

feat: wip on fpbase spectra viewer #388

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tlambert03
Copy link
Member

very wip to add a spectra viewer that pulls data from fpbase. fpbase code is borrowed from microvis (could be put in separate package), and plot widget is same code as being used in ndv histogram PR.

from vispy import app

from pymmcore_widgets.views._spectra_viewer import SpectraViewer

widget = SpectraViewer()
widget.add_spectrum("mTurquoise")
widget.add_spectrum("mStayGold")
widget.add_spectrum("mCherry")
widget.add_spectrum("Chroma ET525/50m")
app.run()
Screenshot 2024-11-17 at 9 30 11 PM

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 155 lines in your changes missing coverage. Please review.

Project coverage is 89.22%. Comparing base (1cda2b7) to head (c675e80).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/pymmcore_widgets/_vispy_plot.py 0.00% 132 Missing ⚠️
src/pymmcore_widgets/views/_spectra_viewer.py 0.00% 23 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #388      +/-   ##
==========================================
- Coverage   90.71%   89.22%   -1.50%     
==========================================
  Files          85       87       +2     
  Lines        9234     9389     +155     
==========================================
  Hits         8377     8377              
- Misses        857     1012     +155     

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


🚨 Try these New Features:

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