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

EnergyOccupancy data type and methods #195

Merged
merged 14 commits into from
Nov 10, 2023
Merged

Conversation

brainandforce
Copy link
Owner

This should provide a unified way of working with pairs of energy and occupancy values, like those which exist in PlanewaveWavefunction. Defined are min_energy, max_energy, min_occupancy, max_occupancy, energy, occupancy, energies, and occupancies, which work for anything which has an EnergiesOccupancies (alias for Array{EnergyOccupancy{T},N} where {T,N} constructor defined.

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (d9763f8) 59.17% compared to head (56f54d5) 59.27%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
+ Coverage   59.17%   59.27%   +0.09%     
==========================================
  Files          19       20       +1     
  Lines        1411     1429      +18     
==========================================
+ Hits          835      847      +12     
- Misses        576      582       +6     
Files Coverage Δ
src/Electrum.jl 60.00% <ø> (ø)
src/data/kpoints.jl 70.27% <ø> (ø)
src/data/energies.jl 91.30% <91.30%> (ø)
src/data/wavefunctions.jl 66.66% <20.00%> (-8.34%) ⬇️

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

@brainandforce brainandforce merged commit 18ea574 into main Nov 10, 2023
5 checks passed
@brainandforce brainandforce deleted the features/energy-occupancy branch November 10, 2023 16:51
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