| Crates.io | Rustb |
| lib.rs | Rustb |
| version | 0.6.2 |
| created_at | 2023-10-24 10:30:42.856265+00 |
| updated_at | 2025-09-07 13:46:20.123644+00 |
| description | A package for calculating band, angle state, linear and nonlinear conductivities based on tight-binding models |
| homepage | |
| repository | https://github.com/LiuyichenYanwushang/Rustb |
| max_upload_size | |
| id | 1012237 |
| size | 599,792 |
This crate is combined with wannier90's wannier model or tight-binding model to calculate various physical properties including:
Using this crate requires:
num-complex for complex number supportndarray for multi-dimensional arraysndarray-linalg for linear algebra operationsFor optimal performance with ndarray-linalg, enable features like "intel-mkl-static" or "openblas-static". See https://github.com/rust-ndarray/ndarray-linalg for details.
The library provides file output functions:
write_txt: Export 2D arrays to formatted text fileswrite_txt_1: Export 1D arrays to formatted text filesThese utilities handle proper number formatting and spacing for scientific data analysis.