INNER CODE UNIT · Python
cumkappa
SMTG-Bham/ThermoParser · tp/cli/cli.py:1311
def cumkappa(kappa_hdf5, mfp, percent, xmarkers, ymarkers, direction,
temperature, minkappa, colour, fill, fillalpha, line, linestyle,
marker, xmin, xmax, ymin, ymax, label, legend_title, location,
style, large, save, show, extension, output, verbose):
"""Plots cumulative kappa against frequency or mean free path.
Reads Phono3py hdf5. Properties such as colour and linestyle loop,
so if you have two data files and two directions, only two colours
need to be specified, one for each direction; however if you want
one for each datafile, each will need to be repeated twice
consecutively.
"""
linestyle = list(linestyle)
colour = list(colour) if len(colour) > 0 else None
label = list(label) if len(label) > 0 else None
marker = list(marker) if len(marker) > 0 else None