tools

  • full name: tenpy.tools

  • parent module: tenpy

  • type: module

Module description

A collection of tools: mostly short yet quite useful functions.

Some functions are explicitly imported in other parts of the library, others might just be useful when using the library. Common to all tools is that they are not just useful for a single algorithm but fairly general.

Submodules

hdf5_io

Tools to save and load data (from TeNPy) to disk.

params

Tools to handle config options/parameters for algorithms.

events

Event handler.

misc

Miscellaneous tools, somewhat random mix yet often helpful.

math

Different math functions needed at some point in the library.

fit

tools to fit to an algebraic decay.

string

Tools for handling strings.

process

Tools to read out total memory usage and get/set the number of threads.

optimization

Optimization options for this library.

cache

Tools to temporarily cache parts of data to disk in order to free RAM.

thread

Tools for thread-based parallelization.

spectral_function_tools

Tools around spectral functions.

prediction

This module contains functions for linear prediction.