This repository was archived by the owner on Jan 28, 2026. It is now read-only.
WIP/Feedback: New bandstructure visualiser? #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP PR;
Wordy desc. below - not expecting you to read it, we can chat potentially.
Just rewrote the phonon and bands index files to incorporate the bands visualiser ive been working on. Mostly a new component that wraps the plotly plot into a div (with some formatting)
In principle it should be fairly easy to add this re-arrange bands button/download jsons but decided to keep the component clean for now. I dont know if CBM and VBM are passed through aiida/easy to calculate but the component should be able to accept singular traces (lines/markers) as input so if its easy to calculate we could maybe throw that in too? (this raises a question on legend etc, the legend is always going to be quite big or quite unreadable).
Could be an idea to show VBM and CBM where applicable as text+marker inside the textbox to the right.
There is a moderate disconnect now with the plotly plotter in the interactive section (albeit less than before), I think the one there looks great and we can maybe restyle the ones in the main body to match it, or make a small change on that components end?