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

Cleaning tutorial notebooks. #621

Merged
merged 2 commits into from
Sep 30, 2023
Merged

Conversation

pfebrer
Copy link
Contributor

@pfebrer pfebrer commented Sep 30, 2023

This is the last one hehe

I added a normalize function and used it to normalize sizes of atoms so that we don't need to multiply the PDOS by some strange factor to set it as atoms sizes (which is less prone to visualization bugs).

The second commit changes the siesta tutorial to use sisl.viz to plot PDOS and fatbands. I don't know if you want it or you prefer to show the technical parts of doing the analysis in this tutorial. Feel free to discard that commit :)

@codecov
Copy link

codecov bot commented Sep 30, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (89908fb) 87.25% compared to head (f124a59) 87.26%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #621   +/-   ##
=======================================
  Coverage   87.25%   87.26%           
=======================================
  Files         355      357    +2     
  Lines       47720    47732   +12     
=======================================
+ Hits        41639    41651   +12     
  Misses       6081     6081           
Files Coverage Δ
src/sisl/viz/processors/math.py 100.00% <100.00%> (ø)
src/sisl/viz/processors/tests/test_math.py 100.00% <100.00%> (ø)

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

@zerothi
Copy link
Owner

zerothi commented Sep 30, 2023

Missing a clean of the workbook

@zerothi
Copy link
Owner

zerothi commented Sep 30, 2023

I think it makes sense to transition to the viz module. I think everything should be in that format. :)

@zerothi zerothi merged commit 31f5dfd into zerothi:main Sep 30, 2023
7 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