kpm.plot

KPM-related plot functions.

Functions

kpm.plot.pldos(ldos, err=False, fmt='-', label=None)[source]

Plot LDOS (local density of states). Expect cofunc.coFunc object.

kpm.plot.pdos(dos, err=False, fmt='-', label=None)[source]

Plot DOS (density of states). Expect cofunc.coFunc object.

kpm.plot.pados(ados, err=False, fmt='-', label=None)[source]

Plot ADOS (density of states). Expect cofunc.coFunc object.

kpm.plot.paldos(aldos, err=False, fmt='-', label=None)[source]

Plot ALDOS (arithmetic mean of the local density of states). Expect cofunc.coFunc object. If err is True, calculate the standard error (using cofunc.coFunc attributes var and count) and plot errorbars.

kpm.plot.paldos_energ(disvals, aldoslist, energs=[0.0], err=False, ymin=None, fmt='.:')[source]

Plot ALDOS at the given energies for different disorder. If err is True, calculate the standard error (using cofunc.coFunc attributes var and count) and plot errorbars (95 % confidence intervals).

kpm.plot.pgldos(gldos, err=False, fmt='-', color=None, label=None)[source]

Plot GLDOS (geometric mean of the local density of states, or typical density of states). Expect cofunc.coFunc object. If err is True, calculate the standard error (using cofunc.coFunc attributes var and count) and plot errorbars.

kpm.plot.pagldos(ados, gldos, err=False, color=None, label=None)[source]

Plot ADOS (average density of states) and GLDOS (geometric mean of the local density of states). Expect two cofunc.coFunc objects. If err is True, calculate the standard error (using cofunc.coFunc attributes var and count) and plot errorbars.

kpm.plot.pgaldos(aldos, gldos, err=False, color=None, label=None)[source]

Plot ALDOS (arithmetic mean of the local density of states) and GLDOS (geometric mean of the local density of states). Expect two cofunc.coFunc objects. If err is True, calculate the standard error (using cofunc.coFunc attributes var and count) and plot errorbars.

kpm.plot.pchecksigma(gldos_list, aldos_list, bins=20, color=None, label=None)[source]

Investigate the fluctuation of the standard error of the geometric mean among independent calculations in form of a histogram.

Auxiliary functions

kpm.plot.repeat_items(sequence, n=2)[source]

Return new sequence where each item of the old sequence repeats the given number n of times.

Indices and tables

Table Of Contents

Previous topic

kpm.resc

Next topic

kpm.cf

This Page