Default Models

class triqs_maxent.default_models.BaseDefaultModel(omega)[source]

Bases: object

Base class for default models. All default models inherit from this class.

Attributes:
D

Methods

parameter_change

class triqs_maxent.default_models.FlatDefaultModel(omega)[source]

Bases: BaseDefaultModel

A flat default model for total absence of knowledge

Parameters:
omegaOmegaMesh

the omega mesh used for the calculation

Attributes:
D

Methods

parameter_change

class triqs_maxent.default_models.DataDefaultModel(default, omega_in, omega=None)[source]

Bases: BaseDefaultModel

A default model given on a grid

Parameters:
defaultarray

the default model data

omega_inarray or OmegaMesh

the omega-values corresponding to the default model data

omegaOmegaMesh

the omega mesh used for the calculation (if None, omega_in is used)

Attributes:
D

Methods

parameter_change

class triqs_maxent.default_models.FileDefaultModel(filename, omega=None)[source]

Bases: DataDefaultModel

A default model given on a grid read from a file

Parameters:
filenamestr

the name of the data file; the first column contains the omega values, the second column the corresponding value of the default model

omegaOmegaMesh

the omega mesh used for the calculation (if None, the data omega mesh is used)

Attributes:
D

Methods

parameter_change