Skip to content

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

License

Notifications You must be signed in to change notification settings

sissaschool/sportran

Repository files navigation

thermocepstrum

Code to compute thermal conductivity through cepstral analysis of heat flux time series, as described in papers:

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

Usage

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. It can execute most of the cepstral analysis routines, returning the results in a series of data files and PDF plots. See the examples folder and the help (python analysis.py --help) for more information.

Requirements

  • Python 2.7
  • Numpy
  • Scipy
  • Matplotlib

Installation

You can simply pip-install thermocepstrum with pip install thermocepstrum.

Alternatively:

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

You are done! You can check that the installation is working by trying to run the command thermocepstrum-analysis.