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

Added preliminary Raman mapping block #534

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

Conversation

elbee99
Copy link
Member

@elbee99 elbee99 commented Jan 10, 2024

Have created a block for reading Renishaw *.wdf files for Raman mapping experiments. In its current state, the image doesn't appear on the plot where it should, and am not sure why.

Copy link
Member

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

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

Hi @elbee99, great work on this so far! Just a couple of comments -- if you are happy with the state of how this is now working, I'm happy to refactor it into the old block myself, then the selection of spectra etc. can be left as a future PR?

@@ -1,6 +1,6 @@
#Acq. time (s)= 300
#Accumulations= 12
#Range (cm-�)= 200...800
#Range (cm-�)= 200...800
Copy link
Member

Choose a reason for hiding this comment

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

Any idea what's going on here @elbee99? Assume vscode or something just mangled this file (presumably we should revert these changes)

@@ -0,0 +1,3 @@
from .blocks import RamanMapBlock
Copy link
Member

Choose a reason for hiding this comment

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

Do you think there is any need to separate this out as a new block? I think ideally this should be factored into the other one, and then perhaps in cases where the data is 3D and you actually want a 1D plot we can add that as an option.

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 23.36449% with 82 lines in your changes are missing coverage. Please review.

Project coverage is 65.01%. Comparing base (b90743d) to head (57f4b27).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #534      +/-   ##
==========================================
- Coverage   66.25%   65.01%   -1.25%     
==========================================
  Files          60       62       +2     
  Lines        3586     3693     +107     
==========================================
+ Hits         2376     2401      +25     
- Misses       1210     1292      +82     
Files Coverage Δ
pydatalab/pydatalab/apps/raman_map/__init__.py 100.00% <100.00%> (ø)
pydatalab/pydatalab/blocks/__init__.py 100.00% <100.00%> (ø)
pydatalab/pydatalab/apps/raman_map/blocks.py 21.15% <21.15%> (ø)

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

2 participants