INNER CODE UNIT · Python

avg_rates

SMTG-Bham/ThermoParser · tp/cli/cli.py:1087

def avg_rates(mesh_h5, mfp, total, x, crt, exclude, doping, direction,
              temperature, colour, linestyle, marker, xmin, xmax, ymin, ymax,
              legend_title, legend, location, long, style, large, save, show,
              extension, output, verbose):
    """Plots averaged scattering rates or mfp.

    Requires AMSET mesh files. Plots scattering rates averaged over
    kpoints and weighted by the derivative of the Fermi-Dirac
    distribution against temperature or carrier concentration or both.
    If one file is given, it will be used for both plots, or if two are
    specified the one with the most temperatures will be used for the
    temperature plot and the one with the most carrier concentrations
    will be used for the doping plot. x-limits only work for individual
    plots.
    """

    q = 'weighted_mfp' if mfp else 'weighted_rates'
    if x == 'both':

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…