version 1.0.3 (6.27 KB) by Mohammad Abu Raihan Miah
MATLAB toolbox to read Siesta generated output files.


Updated Fri, 12 Nov 2021 02:26:55 +0000

From GitHub

View License on GitHub


MATLAB codes to read Siesta [1], a Density Functional Theory (DFT) [2] calculation platform, generated files.

cube_file_read.m: reads wavefunctions from .cube file generated by Siesta
eig_file_read.m: reads eigen energies from .EIG file generated by Siesta
gnu_dat_read.m: reads band energies at specified k points from .dat file formatted and generated with gnubands.f in Siesta/Util directory. It can be used to plot E-k (energy band) diagrams or to extract band energies to perform band unfolding and so on.
kp_file_read.m: reads the list of k points from .KP file used by Siesta during DFT calculation
nc_var_read.m: reads .nc file from Siesta to read orbital specific information
out_read.m: reads the simulation details from .out file generated by Siesta after the DFT simulation

[1] J. M. Soler, E. Artacho, J. D. Gale, A. García, J. Junquera, P. Ordejón and D. Sánchez-Portal, J. Phys. Condens. Matter, 2002, 14, 2745–2779.
[2] W. Kohn, L.J. Sham, Phys. Rev. 140, A1133 (1965).

View SiesLab on File Exchange

Cite As

Mohammad Abu Raihan Miah (2022). SiesLab (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.