sparse_ir_minipole/lib.rs
1//! # sparse-ir-minipole
2//!
3//! Minimal pole representations from DLR coefficients or Matsubara data, and
4//! the ESPRIT algorithm they rest on: L. Zhang and E. Gull, Phys. Rev. B 110,
5//! 035154 (2024); L. Zhang, Y. Yu and E. Gull, Phys. Rev. B 110, 235131
6//! (2024). Most users depend on the `sparse-ir` crate.
7//!
8//! The implementation is a port of the reference implementation
9//! Green-Phys/MiniPole (MIT License, Copyright (c) 2024 lzphy; see
10//! `LICENSE-THIRD-PARTY`), checked against its outputs.
11
12// Modules of the core and the DLR, under the paths the code uses
13#[allow(unused_imports)]
14use sparse_ir_core::{basis_trait, error, fitters, traits};
15#[allow(unused_imports)]
16use sparse_ir_dlr::dlr;
17
18pub mod esprit; // Matrix ESPRIT (port of esprit.py)
19mod linalg; // Dense linear algebra in NumPy conventions
20pub mod minipole; // Minimal pole method (port of mini_pole*.py)