Density of States
Source: src/lib/electronic/DosPlot.svelte, src/lib/electronic/DosAnalysisPane.svelte
Overview
The DOS module visualizes total and projected density of states from DFT calculations. Supports atom-resolved and orbital-resolved projections.
Components
DosPlot
Interactive DOS plotting component.
DosAnalysisPane
Analysis controls for DOS data.
DosPlotWindow
Standalone DOS viewer window.
Data Format
energies— Energy grid relative to Fermi leveltotal_dos— Total DOS valuespdos— Projected DOS by atom and orbitalspin— Spin channel (up/down for spin-polarized)
Features
Projection Types
- Total DOS
- Atom-projected DOS
- Orbital-projected DOS (s, p, d, f)
- Element-projected DOS
Integration
Interactive integration over energy ranges to compute electron counts.
Server API
Endpoint: POST /api/dos