Skip to content

Add functionality to find EDS lines interactively#162

Open
ericpre wants to merge 4 commits intohyperspy:mainfrom
ericpre:add_gui_lines_at_energy
Open

Add functionality to find EDS lines interactively#162
ericpre wants to merge 4 commits intohyperspy:mainfrom
ericpre:add_gui_lines_at_energy

Conversation

@ericpre
Copy link
Member

@ericpre ericpre commented Jan 24, 2026

It needs hyperspy/hyperspy#3564 and hyperspy/hyperspy_gui_ipywidgets#95.

Progress of the PR

  • Add functionality to find EDS lines interactively,
  • docstring updated (if appropriate),
  • update user guide (if appropriate),
  • added tests,
  • add a changelog entry in the upcoming_changes folder (see upcoming_changes/README.rst),
  • Check formatting of the changelog entry (and eventual user guide changes) in the docs/readthedocs.org:exspy build of this PR (link in github checks)
  • ready for review.

Example

import exspy

s = exspy.data.EDS_TEM_FePt_nanoparticles()
s.lines_at_energy(toolkit="ipywidgets")
image

@codecov
Copy link

codecov bot commented Jan 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.00%. Comparing base (054cd4b) to head (00d0297).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
+ Coverage   88.90%   89.00%   +0.10%     
==========================================
  Files          79       80       +1     
  Lines        7650     7751     +101     
  Branches      910      919       +9     
==========================================
+ Hits         6801     6899      +98     
- Misses        575      578       +3     
  Partials      274      274              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ericpre ericpre force-pushed the add_gui_lines_at_energy branch 4 times, most recently from cc85e66 to f157630 Compare February 22, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants