sissaschool
sportran
Python

A code to estimate transport coefficients from the cepstral analysis of a (multi)variate current stationary time series -- [FKA "thermocepstrum"]

Last updated Jun 2, 2026
46
Stars
16
Forks
15
Issues
0
Stars/day
Attention Score
40
Language breakdown
Python 99.1%
Shell 0.9%
Files click to expand
README

SporTran (FKA thermocepstrum)

A code to estimate transport coefficients from the cepstral analysis of a multi-variate current stationary time series.

PyPI version Documentation Status

Documentation

https://sportran.readthedocs.io

References

- Ercole L., Bertossa R., Bisacchi S., and Baroni S., "SporTran: a code to estimate transport coefficients from the cepstral analysis of (multivariate) current time series", Comput. Phys. Commun., 108470, arXiv:2202.11571 (2022) - (cepstral analysis) Ercole, Marcolongo, Baroni, Sci. Rep. 7, 15835 (2017) - (multicomponent systems) Bertossa, Grasselli, Ercole, Baroni, Phys. Rev. Lett. 122, 255901 (2019) (arXiv) - (review) Baroni, Bertossa, Ercole, Grasselli, Marcolongo, Handbook of Materials Modeling (2018) (arXiv)

Developed by Loris Ercole, Riccardo Bertossa, Sebastiano Bisacchi under the supervision of prof. Stefano Baroni

Acknowledgment The development of this software is part of the scientific program of the EU MaX Centre of Excellence for Supercomputing Applications (Grant No. 676598, 824143) and has been partly funded through it.


Usage

There is a GUI that you can try after installing the package. Click here for instructions.

The code can be used as a library, for example in a Jupyter notebook. In the examples folder you can find some examples.

Alternatively, you can run the code analysis.py from the command line without any installation procedure. It can execute most of the cepstral analysis routines, returning the results in a series of data files and PDF plots. See the examples/examplecommandline_NaCl folder and the help (python analysis.py --help) for more information.

Requirements

- numpy - scipy - matplotlib - tkinter - markdown2 - pillow

Installation

You can simply pip-install SporTran downloading it from PyPI with pip install sportran.

Alternatively:

1. Clone this repository: git clone https://github.com/sissaschool/sportran.git 2. Install the package with pip (dependencies will be automatically downloaded). For example:

cd sportran pip install .
You are all set! You can check that the installation is working by trying to run the command sportran-analysis.

The Graphical User Interface can be started with the command sportran-gui.

Issues

You are strongly encouraged to report any issue on the official GitHub issues page.
🔗 More in this category

© 2026 GitRepoTrend · sissaschool/sportran · Updated daily from GitHub