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

streamlined projection options #875

Merged
merged 4 commits into from
Nov 25, 2024
Merged

streamlined projection options #875

merged 4 commits into from
Nov 25, 2024

Conversation

zerothi
Copy link
Owner

@zerothi zerothi commented Nov 25, 2024

Still things to do, but for now this catches
many things.

One thing is that 'basis' projections are now called hadamard (the proper name of the operation). While 'basis' is still allowed it seems better to streamline a against a common name.

  • Closes #
  • Added tests for new/changed functions?
  • Documentation for functionality in docs/
  • Changes documented in CHANGELOG.md

Still things to do, but for now this catches
many things.

One thing is that 'basis' projections are now called
hadamard (the proper name of the operation). While 'basis'
is still allowed it seems better to streamline a against
a common name.

Signed-off-by: Nick Papior <nickpapior@gmail.com>
Signed-off-by: Nick Papior <nickpapior@gmail.com>
src/sisl/physics/_common.py Fixed Show fixed Hide fixed
src/sisl/physics/_common.py Fixed Show fixed Hide fixed
Signed-off-by: Nick Papior <nickpapior@gmail.com>
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

Attention: Patch coverage is 75.28090% with 22 lines in your changes missing coverage. Please review.

Project coverage is 86.98%. Comparing base (6b9dd25) to head (f5545fa).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/sisl/physics/electron.py 56.00% 11 Missing ⚠️
src/sisl/physics/state.py 74.28% 9 Missing ⚠️
src/sisl/__init__.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #875      +/-   ##
==========================================
- Coverage   87.00%   86.98%   -0.03%     
==========================================
  Files         403      404       +1     
  Lines       52589    52638      +49     
==========================================
+ Hits        45754    45785      +31     
- Misses       6835     6853      +18     

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


🚨 Try these New Features:

Signed-off-by: Nick Papior <nickpapior@gmail.com>
@zerothi zerothi merged commit 8559eda into main Nov 25, 2024
3 checks passed
@zerothi zerothi deleted the matrix-projection branch November 25, 2024 13:55
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