diff --git a/README.rst b/README.rst index 679debc..6bb1803 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,7 @@ | | |___ ___ |___ |_____ ___ :|___/ ___ |___ ___ ___ |___ \ | | | | / \ | \ | | | / \:| / | | \ / / \ | \/ | | | | |___/ | | | | | |:| | | | \___ |___/ | \_____ - | | | | \___ | | | | \___/:| \___|_ | \ \___ | :3.1.3\ + | | | | \___ | | | | \___/:| \___|_ | \ \___ | :3.1.4\ |____________________________________:_______________________/____________:_____/ @@ -197,6 +197,13 @@ Roughly chronologically, they are so far: * Katarina Brlec * Joe Willis +Thanks also to the `JOSS`_ reviewers, Evan Walter Clarke +Spotte-Smith, Enric Tomás Grau-Luque, and Francesco Nattino; and the +editor Mojtaba Barzegari. An unintimidating and productive review +process, which I would recommend if the opportunity arises! + +.. _JOSS: https://joss.theoj.org/ + License ------- diff --git a/docs/.doctrees/environment.pickle b/docs/.doctrees/environment.pickle index 6d26ed6..626d44a 100644 Binary files a/docs/.doctrees/environment.pickle and b/docs/.doctrees/environment.pickle differ diff --git a/docs/.doctrees/gallery.doctree b/docs/.doctrees/gallery.doctree index 5357925..6838c53 100644 Binary files a/docs/.doctrees/gallery.doctree and b/docs/.doctrees/gallery.doctree differ diff --git a/docs/.doctrees/heatmaps.doctree b/docs/.doctrees/heatmaps.doctree index bbb593f..fdcd1b3 100644 Binary files a/docs/.doctrees/heatmaps.doctree and b/docs/.doctrees/heatmaps.doctree differ diff --git a/docs/.doctrees/index.doctree b/docs/.doctrees/index.doctree index 80e2df9..e5ebe5b 100644 Binary files a/docs/.doctrees/index.doctree and b/docs/.doctrees/index.doctree differ diff --git a/docs/.doctrees/phonons.doctree b/docs/.doctrees/phonons.doctree index 22067c9..bfa0a8d 100644 Binary files a/docs/.doctrees/phonons.doctree and b/docs/.doctrees/phonons.doctree differ diff --git a/docs/.doctrees/tp.cli.doctree b/docs/.doctrees/tp.cli.doctree index 25a6ffb..ee6a49a 100644 Binary files a/docs/.doctrees/tp.cli.doctree and b/docs/.doctrees/tp.cli.doctree differ diff --git a/docs/.doctrees/tutorial-00.doctree b/docs/.doctrees/tutorial-00.doctree index c536f92..9c651d9 100644 Binary files a/docs/.doctrees/tutorial-00.doctree and b/docs/.doctrees/tutorial-00.doctree differ diff --git a/docs/_images/wideband.png b/docs/_images/wideband.png index cdf200c..336ccdc 100644 Binary files a/docs/_images/wideband.png and b/docs/_images/wideband.png differ diff --git a/docs/_modules/tp.html b/docs/_modules/tp.html index 8d1294b..d620f0f 100644 --- a/docs/_modules/tp.html +++ b/docs/_modules/tp.html @@ -83,6 +83,8 @@
# default values and metadata
#"""
+__version__ = '3.1.4'
+
[docs]def docstring_replace(**kwargs):
def d(f):
f.__doc__ = f.__doc__.format(**kwargs)
diff --git a/docs/_modules/tp/cli/options.html b/docs/_modules/tp/cli/options.html
index 4a1d12f..b2ad4f5 100644
--- a/docs/_modules/tp/cli/options.html
+++ b/docs/_modules/tp/cli/options.html
@@ -78,6 +78,10 @@ Source code for tp.cli.options
#Functions
#---------
#
+# administrative_options
+# function for help and version display.
+# axes_limit_function
+# function for setting the axis limits.
# direction_function:
# function for picking the --direction (-d).
# doping_type_option:
@@ -104,12 +108,100 @@ Source code for tp.cli.options
# function for picking the --temperature (-t).
# verbose_option:
# function for increasing the verbosity.
-# axes_limit_function
-# function for setting the axis limits.
#"""
import click
+[docs]def adminsitrative_options(f):
+ """Help and version options.
+
+ Allows -h for help (click-nonstandard).
+
+ Options
+ -------
+
+ --help, -h
+ show help and exit
+ --version
+ show version and exit
+ """
+
+ f = click.help_option('-h', '--help')(f)
+ f = click.version_option(package_name='tp')(f)
+
+ return f
+
+[docs]def axes_limit_function(multiple=False, c=False):
+ """Function for creating axes limit options.
+
+ Arguments
+ ---------
+
+ multiple : bool, optional
+ allow multiple limits. Default: False.
+ c : bool, optional
+ include colour limits. Default: False.
+
+ Returns
+ -------
+ decorator
+ axes limit options decorator.
+ """
+
+ def axes_limit_options(f):
+ """Options for axes limits.
+
+ Options
+ -------
+
+ --xmin : float, optional
+ override minimum x.
+ --xmax : float, optional
+ override maximum x.
+ --ymin : float, optional
+ override minimum y.
+ --ymax : float, optional
+ override maximum y.
+ --cmin : float, optional
+ override minimum colour.
+ --cmax : float, optional
+ override maximum colour.
+
+ Returns
+ -------
+
+ decorator
+ axes limits options decorator.
+ """
+
+ f = click.option('--xmin',
+ help='Override minimum x.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--xmax',
+ help='Override maximum x.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--ymin',
+ help='Override minimum y.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--ymax',
+ help='Override maximum y.',
+ multiple=multiple,
+ type=float)(f)
+ if c:
+ f = click.option('--cmin',
+ help='Override minimum colour value.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--cmax',
+ help='Override maximum colour value.',
+ multiple=multiple,
+ type=float)(f)
+ return f
+ return axes_limit_options
+
[docs]def direction_function(multiple=False):
"""Function to create direction options.
@@ -222,31 +314,6 @@ Source code for tp.cli.options
return f
return doping_option
-[docs]def heatmap_options(f):
- """Options for heatmaps."""
-
- f = click.option('--discrete/--continuous',
- help='Discretise colourmap. [default: continuous]',
- default=False,
- show_default=False)(f)
- f = click.option('-l', '--levels',
- help='Levels for discrete plots. Lists directly '
- 'specify the contour levels, while integers '
- 'specify the maximum-1 number of "nice" '
- 'levels to plot.',
- multiple=True,
- default=[None])(f)
- f = click.option('--contours',
- help='Contours to plot.',
- multiple=True,
- type=float,
- default=[None])(f)
- f = click.option('--contourcolours',
- help='contour colours',
- multiple=True,
- default=['black'])(f)
- return f
-
[docs]def dos_function(dosargs=['-c', '--colour']):
"""Function for creating DoS options.
@@ -341,6 +408,31 @@ Source code for tp.cli.options
return f
return dos_options
+[docs]def heatmap_options(f):
+ """Options for heatmaps."""
+
+ f = click.option('--discrete/--continuous',
+ help='Discretise colourmap. [default: continuous]',
+ default=False,
+ show_default=False)(f)
+ f = click.option('-l', '--levels',
+ help='Levels for discrete plots. Lists directly '
+ 'specify the contour levels, while integers '
+ 'specify the maximum-1 number of "nice" '
+ 'levels to plot.',
+ multiple=True,
+ default=[None])(f)
+ f = click.option('--contours',
+ help='Contours to plot.',
+ multiple=True,
+ type=float,
+ default=[None])(f)
+ f = click.option('--contourcolours',
+ help='contour colours',
+ multiple=True,
+ default=['black'])(f)
+ return f
+
[docs]def inputs_function(name='filenames', nargs=-1):
"""Function for creating input arguments.
@@ -700,77 +792,6 @@ Source code for tp.cli.options
show_default=False)(f)
return f
-
-[docs]def axes_limit_function(multiple=False, c=False):
- """Function for creating axes limit options.
-
- Arguments
- ---------
-
- multiple : bool, optional
- allow multiple limits. Default: False.
- c : bool, optional
- include colour limits. Default: False.
-
- Returns
- -------
- decorator
- axes limit options decorator.
- """
-
- def axes_limit_options(f):
- """Options for axes limits.
-
- Options
- -------
-
- --xmin : float, optional
- override minimum x.
- --xmax : float, optional
- override maximum x.
- --ymin : float, optional
- override minimum y.
- --ymax : float, optional
- override maximum y.
- --cmin : float, optional
- override minimum colour.
- --cmax : float, optional
- override maximum colour.
-
- Returns
- -------
-
- decorator
- axes limits options decorator.
- """
-
- f = click.option('--xmin',
- help='Override minimum x.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--xmax',
- help='Override maximum x.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--ymin',
- help='Override minimum y.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--ymax',
- help='Override maximum y.',
- multiple=multiple,
- type=float)(f)
- if c:
- f = click.option('--cmin',
- help='Override minimum colour value.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--cmax',
- help='Override maximum colour value.',
- multiple=multiple,
- type=float)(f)
- return f
- return axes_limit_options
diff --git a/docs/_modules/tp/plot/frequency.html b/docs/_modules/tp/plot/frequency.html
index ed34c24..e1ddf4a 100644
--- a/docs/_modules/tp/plot/frequency.html
+++ b/docs/_modules/tp/plot/frequency.html
@@ -968,7 +968,7 @@ Source code for tp.plot.frequency
cbar.set_alpha(1)
cbar.set_label(axlabels[projected])
tp.plot.utilities.set_locators(cbar.ax, y=cbar.ax.yaxis.get_scale())
- cbar.draw_all()
+ cbar._draw_all()
if main:
data[xquantity] = x
diff --git a/docs/_modules/tp/plot/heatmap.html b/docs/_modules/tp/plot/heatmap.html
index 4587142..12785d9 100644
--- a/docs/_modules/tp/plot/heatmap.html
+++ b/docs/_modules/tp/plot/heatmap.html
@@ -321,17 +321,16 @@ Source code for tp.plot.heatmap
# plotting
if discrete:
kwargs.pop('rasterized')
- if levels is None or levels == ():
- heat = ax.contourf(x[:-1], y[:-1], c, cmap=colours, norm=cnorm,
- **kwargs)
+ if levels in [None, (), [None], (None,)]:
+ levels = 10
else:
if isinstance(levels, (list, np.ndarray, tuple)) and len(levels) == 1:
levels = int(levels[0])
elif isinstance(levels, float):
- raise TypeError('levels must be an int or array-like, not float')
- if levels is not None and levels != ():
- heat = ax.contourf(x[:-1], y[:-1], c, cmap=colours, norm=cnorm,
- levels=levels, **kwargs)
+ raise TypeError(
+ 'levels must be an int or array-like, not float')
+ heat = ax.contourf(x[:-1], y[:-1], c, cmap=colours, norm=cnorm,
+ levels=levels, **kwargs)
else:
heat = ax.pcolormesh(x, y, c, cmap=colours, norm=cnorm, **kwargs)
fig = ax.get_figure()
@@ -342,7 +341,7 @@ Source code for tp.plot.heatmap
cbar = plt.colorbar(heat, ax=ax, extend=extend)
# contours
- if contours is not None and contours != ():
+ if contours not in [None, [None], (), (None,)]:
if contourkwargs == None:
contourkwargs = {}
if not isinstance(contours, (list, np.ndarray)):
diff --git a/docs/_modules/tp/plot/phonons.html b/docs/_modules/tp/plot/phonons.html
index d02d719..5151aa9 100644
--- a/docs/_modules/tp/plot/phonons.html
+++ b/docs/_modules/tp/plot/phonons.html
@@ -878,7 +878,7 @@ Source code for tp.plot.phonons
cbar.set_alpha(1)
cbar.set_label(axlabels[quantity])
tp.plot.utilities.set_locators(cbar.ax, y=cbar.ax.yaxis.get_scale())
- cbar.draw_all()
+ cbar._draw_all()
if main:
if round(np.amin(f), 1) == 0:
@@ -1120,7 +1120,7 @@ Source code for tp.plot.phonons
cbar.set_alpha(1)
cbar.set_label(axlabels[projected])
tp.plot.utilities.set_locators(cbar.ax, y=cbar.ax.yaxis.get_scale())
- cbar.draw_all()
+ cbar._draw_all()
if main:
ax.set_ylim(ymin, ymax)
diff --git a/docs/gallery.html b/docs/gallery.html
index c1217cd..b2bfdbb 100644
--- a/docs/gallery.html
+++ b/docs/gallery.html
@@ -129,7 +129,7 @@ Note:
ztmap
heatmap (the power factor pfmap
is also available):
Click on the plot to see the script, or one could use
-`tp plot ztmap ../data/zno/boltztrap.hdf5 -k ../data/zno/kappa-m404021.hdf5 -c '#800080' -d x --discrete
+tp plot ztmap ../data/zno/boltztrap.hdf5 -k ../data/zno/kappa-m404021.hdf5 -c '#800080' -d x --discrete
A related plot we hope people find useful for screening materials to
@@ -153,7 +153,7 @@
Note:
-tp plot phonons ../data/zno/band.yaml --dos ../data/zno/projected_dos.dat --poscar ../data/zno/POSCAR -doscolour '#d46ef9' --doscolour '#7b8eff' -c '#f0901f'
+tp plot phonons ../data/zno/band.yaml --dos ../data/zno/projected_dos.dat --poscar ../data/zno/POSCAR --doscolour '#d46ef9' --doscolour '#7b8eff' -c '#f0901f'
This is where some of the more useful functions of ThermoParser
diff --git a/docs/genindex.html b/docs/genindex.html
index 421f6ad..e48356b 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -125,10 +125,10 @@
A
add_multi() (in module tp.plot.phonons)
-
-
+
- add_pfmap() (in module tp.plot.heatmap)
- add_projected_dispersion() (in module tp.plot.phonons)
@@ -142,6 +142,8 @@
A
- add_ztdiff() (in module tp.plot.heatmap)
- add_ztmap() (in module tp.plot.heatmap)
+
+ - adminsitrative_options() (in module tp.cli.options)
- alphabetise() (in module tp.axes.legend)
diff --git a/docs/heatmaps.html b/docs/heatmaps.html
index 7ffa1ba..68b7531 100644
--- a/docs/heatmaps.html
+++ b/docs/heatmaps.html
@@ -89,7 +89,7 @@ Heatmaps
This shows the classic ZT against carrier concentration and temperature
heatmap. This can be plotted at the command line with:
-`tp plot ztmap ../data/zno/boltztrap.hdf5 -k ../data/zno/kappa-m404021.hdf5 -c '#800080' -d x --discrete
+tp plot ztmap ../data/zno/boltztrap.hdf5 -k ../data/zno/kappa-m404021.hdf5 -c '#800080' -d x --discrete
and in python with:
diff --git a/docs/index.html b/docs/index.html
index dd7b61b..c8881be 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -85,7 +85,7 @@
| | |___ ___ |___ |_____ ___ :|___/ ___ |___ ___ ___ |___ \
| | | | / \ | \ | | | / \:| / | | \ / / \ | \/
| | | | |___/ | | | | | |:| | | | \___ |___/ | \_____
-| | | | \___ | | | | \___/:| \___|_ | \ \___ | :3.1.3\
+| | | | \___ | | | | \___/:| \___|_ | \ \___ | :3.1.4\
|____________________________________:_______________________/____________:_____/
@@ -247,6 +247,10 @@ ContributorsJOSS reviewers, Evan Walter Clarke
+Spotte-Smith, Enric Tomás Grau-Luque, and Francesco Nattino; and the
+editor Mojtaba Barzegari. An unintimidating and productive review
+process, which I would recommend if the opportunity arises!
License¶
diff --git a/docs/objects.inv b/docs/objects.inv
index 75c8ec8..3faecc6 100644
Binary files a/docs/objects.inv and b/docs/objects.inv differ
diff --git a/docs/phonons.html b/docs/phonons.html
index 69c8ef2..844666e 100644
--- a/docs/phonons.html
+++ b/docs/phonons.html
@@ -89,7 +89,7 @@ Phonons
This shows a phonon dispersion and density of states (DoS). This is the
only combined plot currenty possible at the command line, with:
-tp plot phonons ../data/zno/band.yaml --dos ../data/zno/projected_dos.dat --poscar ../data/zno/POSCAR -doscolour '#d46ef9' --doscolour '#7b8eff' -c '#f0901f'
+tp plot phonons ../data/zno/band.yaml --dos ../data/zno/projected_dos.dat --poscar ../data/zno/POSCAR --doscolour '#d46ef9' --doscolour '#7b8eff' -c '#f0901f'
and in python:
diff --git a/docs/searchindex.js b/docs/searchindex.js
index ef53697..10d3c16 100644
--- a/docs/searchindex.js
+++ b/docs/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["avg-rates","contents","cumkappa","dos","gallery","heatmaps","index","modules","phonons","prophon","tp","tp.axes","tp.cli","tp.data","tp.plot","tp.setup","tutorial-00","tutorial-01","tutorial-02","tutorial-03","tutorial-04","tutorial-05","tutorial-06","tutorial-0X","tutorials","waterfalls"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.viewcode":1,sphinx:56},filenames:["avg-rates.rst","contents.rst","cumkappa.rst","dos.rst","gallery.rst","heatmaps.rst","index.rst","modules.rst","phonons.rst","prophon.rst","tp.rst","tp.axes.rst","tp.cli.rst","tp.data.rst","tp.plot.rst","tp.setup.rst","tutorial-00.rst","tutorial-01.rst","tutorial-02.rst","tutorial-03.rst","tutorial-04.rst","tutorial-05.rst","tutorial-06.rst","tutorial-0X.rst","tutorials.rst","waterfalls.rst"],objects:{"":{tp:[10,0,0,"-"]},"tp.axes":{large:[11,0,0,"-"],legend:[11,0,0,"-"],small:[11,0,0,"-"]},"tp.axes.large":{four_square:[11,1,1,""],four_square_colourbars:[11,1,1,""],one:[11,1,1,""],one_colourbar:[11,1,1,""],one_dos:[11,1,1,""],one_dos_colourbar:[11,1,1,""],three_h:[11,1,1,""],three_h_colourbars:[11,1,1,""],three_square:[11,1,1,""],three_square_colourbars:[11,1,1,""],two_h:[11,1,1,""],two_h_colourbars:[11,1,1,""],two_v:[11,1,1,""],two_v_colourbars:[11,1,1,""]},"tp.axes.legend":{add_add_legend:[11,1,1,""],alphabetise:[11,1,1,""],consolidate:[11,1,1,""]},"tp.axes.small":{four_square:[11,1,1,""],four_square_colourbars:[11,1,1,""],one:[11,1,1,""],one_colourbar:[11,1,1,""],one_dos:[11,1,1,""],one_dos_colourbar:[11,1,1,""],three_h:[11,1,1,""],three_h_colourbars:[11,1,1,""],three_square:[11,1,1,""],three_square_colourbars:[11,1,1,""],two_h:[11,1,1,""],two_h_colourbars:[11,1,1,""],two_v:[11,1,1,""],two_v_colourbars:[11,1,1,""]},"tp.calculate":{be_occupation:[10,1,1,""],cumulate:[10,1,1,""],dfdde:[10,1,1,""],fd_occupation:[10,1,1,""],from_tp:[10,1,1,""],gaussian:[10,1,1,""],interpolate:[10,1,1,""],kl:[10,1,1,""],kl_fromdict:[10,1,1,""],lifetime:[10,1,1,""],lorentzian:[10,1,1,""],mfp:[10,1,1,""],power_factor:[10,1,1,""],power_factor_fromdict:[10,1,1,""],thermal_conductivity:[10,1,1,""],to_tp:[10,1,1,""],zt:[10,1,1,""],zt_fromdict:[10,1,1,""]},"tp.cli":{cli:[12,0,0,"-"],options:[12,0,0,"-"]},"tp.cli.options":{axes_limit_function:[12,1,1,""],direction_function:[12,1,1,""],doping_function:[12,1,1,""],doping_type_option:[12,1,1,""],dos_function:[12,1,1,""],fill_options:[12,1,1,""],heatmap_options:[12,1,1,""],inputs_function:[12,1,1,""],interpolate_options:[12,1,1,""],kpoints_options:[12,1,1,""],legend_function:[12,1,1,""],line_options:[12,1,1,""],plot_io_function:[12,1,1,""],temperature_option:[12,1,1,""],verbose_option:[12,1,1,""]},"tp.data":{load:[13,0,0,"-"],run:[13,0,0,"-"],save:[13,0,0,"-"],utilities:[13,0,0,"-"]},"tp.data.load":{amset:[13,1,1,""],amset_mesh:[13,1,1,""],boltztrap:[13,1,1,""],get_path:[13,1,1,""],phono3py:[13,1,1,""],phonopy_dispersion:[13,1,1,""],phonopy_dos:[13,1,1,""],phonopy_gruneisen:[13,1,1,""],scale_to_path:[13,1,1,""]},"tp.data.run":{boltztrap:[13,1,1,""]},"tp.data.save":{cumkappa:[13,1,1,""],hdf5:[13,1,1,""],kappa_target:[13,1,1,""],phono3py:[13,1,1,""],prompt:[13,1,1,""],zt:[13,1,1,""]},"tp.data.utilities":{merge:[13,1,1,""],resolve:[13,1,1,""]},"tp.plot":{colour:[14,0,0,"-"],frequency:[14,0,0,"-"],heatmap:[14,0,0,"-"],mfp:[14,0,0,"-"],phonons:[14,0,0,"-"],utilities:[14,0,0,"-"]},"tp.plot.colour":{elbow:[14,1,1,""],highlight:[14,1,1,""],hsb2rgb:[14,1,1,""],linear:[14,1,1,""],skelton:[14,1,1,""],uniform:[14,1,1,""]},"tp.plot.frequency":{add_cum_kappa:[14,1,1,""],add_density:[14,1,1,""],add_dos:[14,1,1,""],add_projected_waterfall:[14,1,1,""],add_waterfall:[14,1,1,""],format_waterfall:[14,1,1,""]},"tp.plot.heatmap":{add_heatmap:[14,1,1,""],add_kappa_target:[14,1,1,""],add_pfdiff:[14,1,1,""],add_pfmap:[14,1,1,""],add_ztdiff:[14,1,1,""],add_ztmap:[14,1,1,""]},"tp.plot.mfp":{add_cum_kappa:[14,1,1,""],add_markers:[14,1,1,""]},"tp.plot.phonons":{add_alt_dispersion:[14,1,1,""],add_alt_projected_dispersion:[14,1,1,""],add_dispersion:[14,1,1,""],add_multi:[14,1,1,""],add_projected_dispersion:[14,1,1,""],add_wideband:[14,1,1,""],formatting:[14,1,1,""],get_equivalent_qpoint:[14,1,1,""],tile_properties:[14,1,1,""]},"tp.plot.utilities":{colour_scale:[14,1,1,""],parse_colours:[14,1,1,""],scale_to_axis:[14,1,1,""],set_locators:[14,1,1,""]},"tp.settings":{amset_conversions:[10,1,1,""],boltztrap_conversions:[10,1,1,""],boltztrap_dimensions:[10,1,1,""],conversions:[10,1,1,""],dimensions:[10,1,1,""],inverted_labels:[10,1,1,""],labels:[10,1,1,""],locator:[10,1,1,""],long_labels:[10,1,1,""],medium_labels:[10,1,1,""],phono3py_conversions:[10,1,1,""],phonopy_conversions:[10,1,1,""],short_labels:[10,1,1,""],to_amset:[10,1,1,""],to_boltztrap:[10,1,1,""],to_phono3py:[10,1,1,""],to_tp:[10,1,1,""],units:[10,1,1,""]},"tp.setup":{vasp:[15,0,0,"-"]},"tp.setup.vasp":{gen_ibz:[15,1,1,""],get_kpar:[15,1,1,""],get_kpoints:[15,1,1,""]},tp:{axes:[11,0,0,"-"],calculate:[10,0,0,"-"],cli:[12,0,0,"-"],data:[13,0,0,"-"],docstring_replace:[10,1,1,""],plot:[14,0,0,"-"],settings:[10,0,0,"-"],setup:[15,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"00b1f7":[20,25],"00ffff":3,"05352503e":13,"0th":13,"15478198e":13,"16227766e":13,"1e18":21,"1e19":[0,4,16,21],"1e20":21,"1e21":21,"21696503e":13,"33352143e":13,"37137371e":13,"3x1":15,"3x3":[13,21],"44e":13,"44ffff":14,"49381632e":13,"49894209e":13,"53992653e":13,"59c605":[2,20,25],"62341325e":13,"65174127e":13,"65964323e":13,"6x1":13,"73841963e":13,"77827941e":13,"7b8eff":[2,4,8,19],"86967525e":13,"case":[4,5,9,13,14,15,16,17,18,19,20],"default":[3,6,8,9,10,11,12,13,14,15,19,20,22,24],"final":[5,22],"float":[10,11,13,14,15],"function":[0,2,4,5,6,8,9,10,11,12,14,16,17,18,19,20,22,23,24],"import":[0,2,3,5,8,9,14,17,18,19,20,21,25],"int":[10,11,12,13,14],"long":[4,8,10,17,18,22],"new":[6,13,22],"null":14,"public":6,"return":[5,10,11,12,13,14,15,16,17,21],"short":[10,16],"true":[2,3,5,8,9,10,11,12,13,14,19,20,25],"try":13,"while":[0,2,6,8,14,16,17,20,22,25],APS:[],Adding:6,And:[2,3,4,17,18,19,25],Axes:[0,2,5,6,8,9,11,24,25],DoS:[2,4,6,8,11,12,13,14,18,19,20,22,25],For:[19,21,22],Has:14,IDEs:17,Not:[13,21,23],The:[0,2,3,4,5,6,11,14,16,17,18,19,20,21,22,23],Then:16,There:[4,5,21,22],These:[6,18,20,22],Use:6,Useful:13,Uses:10,Using:[4,6],ZTs:[5,10,14],___:6,_____:6,________:6,____________:6,_______________________:6,_________________________________:[],____________________________________:6,______________________________________:[],_______________________________________________________________:[],________________________________________________________________:6,__main__:[9,18],__name__:[9,18],_colourbar:20,_phy:[],abbrevi:[10,24],abil:[2,4],about:22,abov:[0,2,4,5,9,13,18,19,20,21,25],abs:0,accept:[2,8,13,14,18],access:[16,17,18,20,21],accompani:14,accord:[],account:13,accur:[4,23],achiev:[23,25],acoust:[9,19],across:0,action:6,actual:[9,14,22],adata:[5,21],add:[0,2,4,5,6,8,9,10,11,13,14,17,20,21,22,25],add_:14,add_add_legend:11,add_alt_dispers:[9,14],add_alt_projected_dispers:14,add_cum_kappa:[2,14],add_cumkappa:20,add_dens:[14,25],add_dispers:[8,14,17,19],add_do:[2,3,8,14,19,20,25],add_heatmap:[5,14],add_kappa_target:[5,14],add_legend:[0,2,3,5,8,9,11,17,19,20,25],add_mark:14,add_multi:[8,13,14,20],add_pfdiff:[5,14],add_pfmap:[5,14],add_projected_dispers:[9,14],add_projected_waterfal:[14,20,25],add_subplot:21,add_waterfal:[14,20,25],add_wideband:[9,14,18],add_xtick:14,add_ytick:14,add_ztdiff:[5,14],add_ztmap:[5,14],added:[2,11,13,14,22],adding:[0,5,20],addit:[11,14,25],adjust:[14,25],aesthet:6,affect:19,affero:6,afil:21,after:[6,16],afterward:16,again:6,against:[0,2,4,5,6,10,13,14,25],agplv3:6,aid:[14,21],aim:13,alia:[22,25],alias:22,align:8,all:[0,2,5,6,8,9,11,13,14,16,17,18,19,20,22,23],allow:[2,4,12,13,14,18,22],almost:21,along:[6,9,16,17,21],alongsid:19,alpha:[11,14,18,20,25],alphabetis:[6,11,21],alreadi:[3,6,14,18],also:[0,2,3,4,5,6,8,9,11,13,17,18,19,20,21,24],alt_dispers:14,alt_phonon:[9,18],alter:[4,6,21],altern:[2,5,25],although:[4,5,20],alwai:[8,14,19],among:4,amoung:14,amount:25,amset:[4,5,6,10,13,21,23],amset_convers:10,amset_mesh:[0,13],amset_ord:10,analys:13,analysi:6,analyt:4,ancillari:[0,14,17,19,24],anharmon:[],ani:[5,6,13,17,21],anisotrop:14,ann:13,anoth:[4,9],anticip:20,anyth:6,anywai:3,api:1,apl:13,appear:19,append:16,appli:[3,14,17],applic:[5,14,18,21],appreci:6,approach:[6,18],appropri:[5,6,8,21],approxim:[2,4,5,14],arab:[11,21],arbitrari:13,area:[6,10,17],arguement:2,argument:[2,3,5,6,8,11,12,14,16,18,19,20,21,22,24],arith:13,arithmet:13,around:[2,6,9],arrai:[5,6,9,10,11,12,13,14,15,17,21],articl:[],ascend:15,asid:19,aspect:22,assign:17,assist:[17,24],assum:[10,13,14],atom:[2,3,4,13,14,19],attach:11,attempt:14,author:[],auto:14,auto_legend_opt:[],automat:[5,9,10,11,21],avail:[4,6,11,13,16,17,18,21],averag:[4,13,14],average_eff_mass:13,avg:[0,4,13,14,16,20,21,25],avg_rat:[],avoid:15,awai:[5,17],axes:[0,2,3,4,5,6,7,8,9,10,12,13,14,17,18,19,20,21,22,24,25],axes_limit_funct:12,axi:[2,4,6,8,9,10,11,14,20,22,25],axis1:10,axis2:10,axlabel:[0,20,21],axvlin:14,background:9,balanc:21,band:[2,4,8,9,10,13,14,17,18,19,20,25],bandmax:[9,14],bandmin:14,bar:14,base:[11,14,18],basic:[13,17,22,23],basno3:[0,3,4,5,8,20,21,25],basno:[4,20],basno_3:3,bbox_to_anchor:11,be_occup:10,becaus:[4,14],been:[2,4,5,9,16,18,22],befor:[10,13,23],behav:22,being:20,below:[4,5,13,14],besid:4,bespok:6,best:[2,6,21],beta:11,better:[8,11,17,20],between:[5,14,17,18,19,25],bewar:3,beyond:24,bfile:5,bham:6,big:25,bigradi:14,bin:[0,2,3,5,8,9,17,18,19,20,21,25],bit:9,black:[4,5,9,14,18],blank:11,blue:[0,4,14,25],boltzmann:13,boltztrap:[4,5,6,10,13,23],boltztrap_convers:10,boltztrap_dimens:10,boltztraprunn:13,bonan:6,bonu:[],bool:[10,11,12,13,14],bose:10,boson:[],both:[2,4,5,8,13,14,20],bother:23,bottom:[11,19,21],bracket:16,branch:17,bre:[],bretheren:23,brew:6,brief:[4,24],bright:14,brlec:6,broaden:[9,14,18,20],broader:18,browser:4,bug:6,build:6,built:[6,13],bundl:8,burden:23,c_limit_opt:[],cacul:23,calcul:[0,1,4,5,7,13,14,15,17,18,19,23,24],call:14,can:[0,2,3,4,5,6,9,10,11,13,14,16,17,18,19,20,21,22,23,24,25],cannot:[13,15,25],capitalis:21,care:17,carrier:[4,5,12,13],caus:[18,20],cbar:25,center:10,centr:[5,6],certain:14,chang:[0,14,22],channel:13,charact:25,charg:13,chem:4,chemic:13,choic:11,choos:5,chose:[],chronolog:6,circumv:6,classic:[4,5],clean:[9,13],clearer:[9,25],cli:[1,5,7,10,17,18,19,20,21,24],click:[4,6],clone:6,close:[3,5,8],closest:14,cmap:[14,20],cmax:[14,18],cmid:14,cmin:[14,18],cnorm:14,code:[4,6,13,17,18,19,20,22],coeffici:[10,13,21],collat:13,color:[0,14],colorbar:14,colormap:14,colour1:14,colour2:14,colour:[0,2,3,5,6,7,8,9,10,12,18,19,20,25],colour_scal:14,colourbar:[5,11,14,20],colourmap:[4,5,6,9,14,20,24],column:11,com:6,combin:[2,8,11,23],come:[4,11,18,20,21],command:[0,1,2,4,5,8,9,12,16,17,18,24,25],common:[10,13],commun:13,compar:[3,5,8,14,19],comparison:4,compat:13,compil:24,complet:5,complex:[4,18,24],complic:[20,25],compon:[14,18],composit:18,compound:[4,24],comprehens:[5,6,20],compress:8,compund:[],comput:13,concentr:[4,5,6,12,13],conda:6,condit:[5,12,13,18],conduct:[0,4,5,6,10,13,14,17,18,19,20,21,23,25],conductivit:[],config:[6,10,14,18,22],configur:[20,22],conflict:22,confus:13,conjunct:2,connect:25,conserv:10,consid:23,consist:[13,17],consolid:[4,11,19,21],constant:[4,5,13,14],constitu:[2,25],constraint:13,contain:[6,10,13,14,17,19,20,21,22],content:[1,7],continu:14,contour:[5,14],contourcolour:14,contourf:14,contourkwarg:14,contract:[],contrast:[],contribut:[1,2,4,13,19,20,22],contributor:1,control:[2,18],conveni:[8,10,14],convent:11,converg:[8,20,23],convers:[6,10,13,17,22],convert:[10,13,14,22],copi:[6,10],core:21,correct:13,correctli:25,correspond:[19,20],cosmet:4,cost:23,could:[4,8,14,18,19,20],counterpart:2,coupl:[13,18],cover:[17,20,21],creat:[12,15,23],crta:[4,5],crystal:[13,14],cscale:14,csv:13,cumkappa:[2,13,25],cumul:[6,10,13,14],current:[0,6,8,13,20],currenti:8,curv:[],custom:[2,3,4,5,9,10,17,18,19,21],customais:24,customis:[4,10,14,16,17,21,24],cut:9,cutom:24,cyan:[3,4],cycl:14,cython:6,d46ef9:[2,4,8,19],daniel:6,dark:25,dark_background:[4,9,18],dat:[2,3,4,8,13,19,20,25],data1:[10,14],data2:[10,14],data:[0,2,3,4,5,6,7,8,9,10,14,16,17,18,19,20,21,22,23,24,25],dataset:[4,10,14,24],davi:6,david:6,ddata:0,deal:[11,14],dealt:13,dear:14,deault:14,decid:[5,14],decompos:14,decor:12,decreas:18,decript:11,def:[9,18],defin:[11,14,20],defloc:11,degre:[5,18],delimit:[18,19],demonstr:[2,4,8,9,24],dens:23,denser:23,densiti:[2,6,8,13,14,19,25],depend:[6,10,13,19,21],depth:[],deriv:[0,6,10,13],descript:[2,11,16,17],design:[6,19],desir:3,detail:[4,6,16],detect:3,determin:[14,19],deviat:10,dfdde:10,dfile:[19,20,25],dict:[10,11,13,14],dictionari:[3,10,13,14,17,21,22,23],differ:[3,4,5,8,13,14,17,19],dimens:[10,13,21],dimes:13,dinterp:13,dip:20,dirac:[0,4,10,13],direct:[2,5,12,13,14,20,21,25],direction_funct:12,direction_opt:[],directions_opt:[],directli:[0,6,14,16,18],directori:[4,6,10,13,22],disabl:3,discard:19,discreet:[],discret:[4,5,14],discuss:[17,19],dispar:24,dispers:[4,6,8,9,13,14,17,18,19,20],displai:14,distinguis:13,distribut:[0,10,13],divers:2,doc:[6,17],docstr:[6,17],docstring_replac:10,document:6,doe:[0,3,13,14,21],doesn:[4,14,20],doing:13,domin:19,don:[6,14,17],done:[2,4,5,8,17,19],dopabl:5,dopant:10,dope:[0,6,10,12,13,14,21],doping_funct:12,doping_opt:[],doping_type_opt:12,dopings_opt:[],dos1:3,dos2:3,dos:[2,3,4,8,11,14,19,20,25],dos_funct:12,dos_opt:[],dosarg:12,doscolour:[4,8,19],dosfil:[2,3,8],doss:[3,4,19,22],doubl:[10,11],down:[13,18,20],download:[4,6],draw:[11,19],dream:11,drop:25,dtype:13,due:[4,9,16,18,22],duplic:[11,19,21],dure:4,dynam:5,each:[4,6,11,13,14,17,19,20,22],eas:6,easi:[13,22],easier:3,easili:[4,6,16,17,21],edgecolor:14,edit:[10,14,18],effect:[0,2,4,11,13,17],effic:4,effici:[21,23],effort:20,efil:[5,13],einhorn:6,einstein:10,either:[4,14,19,21],elbow:[14,18],electr:[4,13,21],electron:[4,6,10,13],electronic_structur:13,electronic_thermal_conduct:[10,13,14],element:[14,25],els:[6,13,14,16],elsewher:22,empti:11,enabl:[3,4,5,20],enclos:14,end:[0,2,4,11],endaevor:19,energi:[10,13,14,18],enhanc:[5,19],ensur:[17,21],entir:3,entri:14,enumer:[0,11,21],env:[0,2,3,5,8,9,17,18,19,20,21,25],environ:[3,13,19],equal:[0,5,23],equival:[5,6,13],error:[6,13],especi:9,etc:[3,10,11,13,14,22],even:[11,14,21],everi:[14,17],everyth:20,exactli:[18,21],exampl:[0,4,6,18,19,20,21,22,24,25],except:[0,2,5,9,16,18,20,21,22,25],exclud:[0,14],exist:[],expand:[22,24],expans:[5,8],expens:[5,23],experiment:3,explan:4,explicit:4,extend:14,extens:[5,13,17],extern:13,extra:[6,14,22,24],extract:13,f0901f:[4,8,19],facilit:24,factor:[4,5,10,13,14,17],fade:14,fail:14,fals:[2,3,10,12,13,14,20,25],far:6,faster:13,fd_occup:10,fd_weight:13,featur:[6,14],feel:6,fein:4,fermi:[0,4,10,13],fermi_level:[10,13],fermion:[],few:[6,23],fewer:14,ff0000:[3,9,18],ff00ff:3,ff4444:14,ff8000:[3,14],ff8044:14,ffcf06:[2,20,25],ffff00:[],ffffff:14,fickl:13,fig:[0,2,3,5,8,9,17,18,19,20,21,25],figsiz:21,figur:[2,4,6,11,17,19,21],file:[0,2,4,5,6,8,9,12,13,14,15,16,17,18,20,21,22,23,25],filenam:[12,13,15],filepath:[13,14],filetyp:13,fill:[12,14],fill_between:14,fill_opt:12,fillabl:12,fillalpha:[12,14],fillcolour:14,find:[4,5,14],first:[2,13,14,17,21,22,23,25],fit:[13,14],five:22,flat:11,flatten:11,focu:16,folder:[0,2,4,5,6,9,18,20,21,25],follow:[2,6,13,17],font:[11,22],foolproof:3,forc:[13,14],fork:6,form:[10,13],format:[4,5,6,8,13,14,17,19,21,22,24],format_waterfal:[14,20,25],former:4,formula:13,found:[0,2,4,5,9,10,13,17,18,20,21,25],foundat:24,four:[4,6,11,17],four_squar:11,four_square_colourbar:11,franz:13,free:[0,2,4,6,10,13,14,20,25],frequenc:[2,3,4,6,7,8,9,10,13,17,18,19,20,25],frequent:6,friend:13,from:[0,2,3,4,5,6,9,10,11,13,14,16,17,18,19,20,21,22,25],from_fil:13,from_tp:10,full:[10,14,16],fulli:21,fundament:24,further:[6,16],futur:18,fwhm:10,galleri:[1,6,24],gamma:[9,10,11,14,18],ganos:4,gaussian:[3,4,10,14],gen:[4,23],gen_ibz:15,gener:[3,4,5,6,9,13,14,15,18,20,23,24],get:[0,2,4,5,6,9,10,13,16,18,20,21,22,23,24,25],get_cmap:14,get_equivalent_qpoint:14,get_kpar:[15,23],get_kpoint:[15,23],get_path:13,get_work:[],get_ylim:[8,19],getsiz:[0,2,5,9,18,20,21,25],git:6,github:6,give:[0,4,17],given:[4,14,15,16],glean:17,glob:20,gnu:6,goe:17,good:[3,14,19],gradient:[14,17],graph:[0,2,6,14,19,20],greater:[11,18],greatli:6,greek:[11,21],grei:14,grid:[21,23],gridspec:21,group:[4,8,10,12,17],group_veloc:[10,14],gruneisen:[9,13],guidelin:11,gv_by_gv:14,h5py:6,half:10,hand:4,handi:18,handl:[2,5,11,12,14,19,21],harm:13,harmon:13,has:[2,5,6,9,11,17,20,22],have:[0,2,4,6,8,11,13,14,16,17,18,19,20,22,23,24],haven:4,hdf5:[2,4,5,6,9,13,18,20,21,25],hdf5_dir:6,heat:19,heat_capac:14,heatmap:[4,6,7,10,12,18],heatmap_opt:12,height:[10,11],help:[5,14,15,16,19,24],helper:[6,20,24],here:[2,3,5,9,17,18,19,20,21,22,24],hex:[5,9,14],hidden:9,high:[6,9,14,17,21,25],higher:[],highlight:[4,5,13,14,20,25],hint:16,hope:[4,5,24],horizont:[11,20],how:[5,13,14,16,20,22,24],howev:[15,20,21,23],hsb2rgb:14,hsb:14,html:6,http:6,hue:14,ibz_weight:13,ibzkbt:12,ibzkpt:[12,15],idea:6,ident:13,ignor:[2,13,14,15,18,20,23,25],iii:11,imag:[0,4,6],imaginari:[10,14,17,18],imp:[0,13],includ:[0,2,4,5,6,8,9,12,13,14,15,17,18,19,21],inclus:4,increas:23,independ:6,index:[1,10,13,14,19,20,25],indic:[9,13,17,18,19],individu:24,info:6,inform:[5,17,20,24],input:[4,5,9,10,12,13,14,15,16,17,18],input_argu:[],inputs_argu:[],inputs_funct:12,insid:19,instabl:17,instal:[1,18],instanc:3,instead:[0,9,13,14,16],inted:6,intefac:22,integ:[11,14],intellig:[],intend:4,intens:23,interact:4,interest:[4,24],interfac:[1,4,12,16,24],interfer:20,intern:11,interpol:[10,12,13,14,18,21],interpolate_opt:12,interpolation_factor:13,introduc:24,introduct:24,invert:[6,8,10,14,19,20,22],inverted_label:[10,22],ipython:17,irreduc:[13,15],irrelev:[],isfil:[0,2,5,9,18,20,21,25],isn:14,isol:6,issu:6,item:19,its:[4,5,9,14,16,18,21,22],itself:[2,17],joe:6,join:8,jonathan:14,journal:[],json:[4,5,6,13,21],jupyt:17,just:[4,14,25],k_latt:[10,14],k_mode:13,kappa:[2,4,5,6,9,13,14,18,20,21,23,25],kappa_l:[13,14],kappa_sourc:5,kappa_target:13,kappafil:[2,9],katarina:6,kavanagh:6,kdata1:14,kdata2:14,kdata:[5,14,18,21],ke_mod:13,keep:[14,19],kei:[10,13,14],keys1:10,keys2:10,keyword:14,kfile:[5,9,13,18,20,21,25],kieran:6,kim:13,kind:[10,12,13,14],kinet:17,kl_fromdict:10,kmin:14,know:14,knowleg:6,kpar:[15,23],kpoint:[12,13,15,23],kpoints_opt:12,kwarg:[10,13,14,17,18,22],label1:[5,14],label2:[5,14],label:[0,2,4,5,6,8,10,11,12,13,14,19,20,22,24],label_do:11,larg:[0,4,7,8,9,10,17,18,21,22],large_:21,large_label:[0,22],large_styl:22,larger:[11,22],last:[14,17],later:[13,16,17],latin:[11,21],latter:4,lattic:[4,5,6,10,13,14,17,18,19,20,21,25],lattice_thermal_conduct:[10,14,21],law:13,layer:[2,13,24,25],layout:6,lead:4,least:8,leav:14,left:[2,3,4,11,19,21],legend:[0,2,4,5,6,7,8,10,12,14,17,24],legend_funct:12,legend_opt:[],legend_titl:[4,8,19],legibl:5,len:14,lend:[],length:[10,22],less:23,let:[6,24],letter:21,level:[10,13,14],librari:6,licens:1,lifetim:[9,10,13,14],like:[10,11,12,13,14,15,18,20,22,25],limit:[2,9,12,14,20],line:[0,1,2,3,4,5,8,9,12,14,16,24,25],line_opt:12,linear:[0,9,10,12,13,14,18,20,21],linearli:18,liner:8,linestyl:[3,12,14],linewidth:14,link:[14,19,20],linspac:14,list:[5,8,11,13,14,15,16,18,19,20,21,22],littl:6,live:14,load:[0,2,3,5,6,7,8,9,10,19,21,25],loc:[2,11,21],localis:19,locat:[0,2,3,4,10,11,14,19,20,22],log:[0,14,20,21],logspac:13,long_:[21,22],long_label:10,longer:6,longitudin:14,look:[4,6,20,22],loop:[8,13,14],lorentzian:10,low:[0,4,21,23],lower:[4,20],lowest:19,lpfac:13,ltc:10,m363636:[4,5,20,21,25],m404021:[2,4,5,9,18],m_e:13,mac:[1,9,18],machin:13,made:6,madsen:13,magenta:[0,3,4],mai:[0,2,3,4,5,6,11,13,14,19,21,22,23,24],main:[2,4,6,9,10,14,18,20,25],mainli:24,maintain:[4,11,13],major:[19,22],make:[0,5,9,11,13,14,18,20,23],mani:[4,6,13,16,18,22,24],manipul:[5,6,13],manner:13,manual:[3,5,8,9,11,12,17,19],map:[13,14],maradudin1962:[],maradudin:4,mark:[14,17],marker:[2,12,14],markerkwarg:14,mass:13,master:17,mat:13,match:[8,9,14,19],mater:4,materi:[0,4,5,6,8,14,15],mathregular:14,matplotlib:[0,6,14,17,18,19,21,22],matric:13,maud:6,max:14,maxim:14,maximis:14,maximum:[6,10,13,14,22],mean:[0,2,4,6,10,13,14,20,25],mean_free_path:[13,14,20,25],medium:10,medium_:[21,22],medium_label:10,memori:[13,23],mention:16,merg:[4,13],mesh:[12,13,15,16],mesh_75x75x75:[0,4],mesh_h5:16,meta:[5,13,21],metadata:[13,17,21,23],method:[5,13,17],mfp:[0,2,6,7,10,13,25],mid:14,midcolour:14,midpoint:[14,18],might:[18,22],min:14,mind:13,minimum:[13,14],minor:[21,22],miscellan:24,miss:11,mobil:13,mode:[3,4,6,9,17,18,19],mode_kappa:[2,13,14,25],model:13,modifi:21,modul:[1,6,7,16,17,19,22],modular:[6,16,22],momentum:[4,5],more:[3,4,5,6,8,9,11,13,14,16,18,19,20,21,23,24],most:[2,3,4,5,6,9,14,17,18,19,21,24],mostli:[4,6],mrta:[4,5],much:[4,20,23],multi:[2,4],multiphon:8,multipl:[4,5,6,12,13,14,16,18,19,23],multipli:13,multiprocess:[9,18],must:[2,5,13,14,16,19,22,23,25],muv:[10,13],name:[5,9,10,11,12,13,14,17,19,20,21],nanomet:2,nanostructur:[2,4,5],narg:12,natur:[11,22],navig:[4,6,16],ncol:[2,3],nearest:[13,14,21],necessari:[9,10,13,14,17,19],necessarili:15,need:[3,4,16,19,20,21,22],neg:17,negativecolour:14,neighbour:20,nest:[13,22],neutron:[],next:6,nice:[4,14],nofil:[2,12],nolegend:[3,4],nolin:12,non:[11,13,18,19,24],none:[11,12,13,14,15],norm:[13,14],normal:[0,6,9,11,13,14,16,17,19],normalis:14,notabl:16,notat:14,note:[1,2,5,13,14,16,24,25],noth:14,notot:16,notverbos:12,now:19,number:[2,4,5,11,12,13,14,17,19,21,22,24],numpi:[0,6,13],o_2:[3,4],object:[14,15],obscur:[14,25],obtain:23,occup:[10,13,14],occupi:10,occupt:14,off:[9,13,14,20],offer:[4,17,19],oft:4,often:[3,13,19,20,25],old:[4,13,17],one:[2,4,6,8,9,11,13,14,16,17,18,19,20,21,23,25],one_colourbar:[5,9,11,25],one_do:[8,11,19],one_dos_colourbar:11,ones:[4,11,13],onli:[0,6,8,9,11,12,13,14],onlin:6,onto:[4,6,9,13,14,20],opac:[12,14],open:6,oper:14,oppos:13,optic:14,option:[3,4,6,7,10,11,13,14,15,16,17],orang:[3,4],orbit:13,order:[2,3,4,6,11,13,14,15,19,21,23,25],ordin:[11,13],ordinari:17,orient:17,origin:10,other:[4,5,6,8,9,10,13,14,16,20,21],otherwis:14,our:[6,23],out:[0,14,24],outlier:9,outlin:4,output:[12,13,14,15,18],outsid:[4,11],over:[8,13,14],overal:[13,14],overcolour:14,overlai:4,overrid:[11,12,14,22],overridden:[12,13,14,22],overwrit:13,own:[6,11,17,18,19,22],oxid:4,packag:[1,4,6,7,21,24],page:1,paper:[8,9,11,17],parabol:13,paralellis:14,parallelis:[],paramet:[10,11,12,13,14,15,25],pars:[14,24],parse_colour:14,part:[2,14,16,17,19],particl:[],particular:[3,4,13,19,21],particularli:[0,2,9,13,18,24],pass:[13,14,18,21,22],path:[0,2,4,5,6,9,10,13,14,15,17,18,20,21,25],pcolormesh:14,pcolourmesh:5,pdata:[9,14,18],pdf:[0,2,5,8,9,25],peopl:4,per:[10,11,13,14],percent:[2,13,14,20],pertain:6,pfdiff:4,pfile:[9,18,19,20],pfmap:4,ph_ph_strength:14,phile:[8,9],phono3pi:[2,5,6,9,10,13,14,18,20,21,23,25],phono3py_convers:10,phonon:[2,3,4,6,7,10,13,17,18,19,20,23,25],phonop3i:13,phonopi:[3,4,6,8,9,10,13,14,17,19],phonopy_convers:10,phonopy_dispers:[8,9,13,17,18,19,20],phonopy_do:[2,3,8,13,19,20,25],phonopy_gruneisen:[9,13],phy:[4,13],physic:[],pick:[6,16],pictur:4,pie:0,piec:6,pink:[3,4],pip:6,place:[2,11,14,19],plai:0,pleas:[0,2,5,9,18,20,21,25],plot:[0,2,3,4,5,6,7,8,9,10,11,12,13,16,21,22,23,24,25],plot_io_funct:12,plot_io_opt:[],plottabl:21,plotter:[6,14],plt:[6,14,18,21,22],pmg:15,png:[0,2,3,5,8,9,17,18,19,20,21,25],point:[0,4,10,12,13,14,20,21,22,25],poorli:19,pop:0,popul:23,popular:0,poscar:[2,3,4,8,9,12,13,14,15,18,19,20,25],posit:[2,8,11,14,18,19,21],possibl:[5,8,15],post:13,poster:[8,9,11],postprocess:10,potenti:15,power:[4,5,10,13,14],power_factor:[10,13,14],power_factor_fromdict:10,pre:[2,4,8,11,17,19],precis:15,prefer:[8,13,17,22,25],prefix:[11,21],preinstal:18,present:[8,9,10,11,17],preset:[11,21],previou:19,primari:17,primarili:11,print:[13,18],problem:4,process:[0,4,6],produc:6,program:2,project:[3,4,6,13,14,18,20,25],projected_do:[2,3,4,8,13,19,20,25],prompt:13,prone:6,properli:20,properti:[4,6,9,13,14,21],prophon:9,provid:[4,6,9,10,11,12,13,14,17,18,21,22,23],publish:4,pull:6,purportedli:15,put:[5,18,22],pymatgen:[6,13,14],pyplot:[6,14,17,18,21],python3:[0,2,3,5,6,8,9,17,18,19,20,21,25],python:[0,1,2,3,4,5,8,9,16,18,19,20,21,22,24,25],qpoint:14,quadrant:11,qualiti:6,quantit:[4,9,13,14],quantiti:[0,2,6,9,10,13,14,18,20,21,22,25],quantitit:14,question:17,quicker:3,quickli:[4,14],rahim:6,rainbow:2,rainbowi:14,rais:[0,2,5,9,18,20,21,25],rang:[5,14,18,20],raster:14,rate:[4,13,16],rather:[3,4,14,19,20,21,22],raw:13,reach:[4,5,6],read:[3,10,13,17,22],reader:14,realist:4,reason:2,recalcul:4,reciproc:17,recognis:14,recommend:[13,15],record:5,recreat:3,red:[0,3,4,9,18],reduc:[2,4,13,23],refer:1,regular:25,reinstal:13,reinstat:14,rel:[0,2,11,17,18,22],relat:[4,5,8,18],relax:[4,5,13],relaxation_tim:13,releas:4,relev:6,reliev:13,remain:14,rememb:22,remov:[2,4,8,11,12,13,14,19,20,25],renam:[],repeat:[13,14,16],repetit:13,replac:[17,25],repo:4,repres:[0,5,18,21],request:6,requir:[1,2,3,4,5,12,13,14,16,18,21,23,25],rerun:[3,4],rescal:[4,5,8],resolv:[0,4,13],respect:[0,5,18,19,21,22],rest:[22,23],result:[4,14,23],retriev:[4,6,14],rev:4,revers:20,review:[],rgb2arrai:[],rgb:[5,9,14],rgba:14,right:[2,3,4,11,19,21],roman:[11,21],roughli:6,round:[13,21],row:11,rrggbb:[12,14],run:[4,5,6,7,9,10,14,18,20,23],run_dir:13,runner:[],safe_load:13,same:[3,4,5,6,8,13,14,15,17,19,20,21,22,24],sampl:14,satur:14,save:[0,2,5,6,7,8,9,10,18,19,20,21,22,25],savefig:[0,2,3,5,6,8,9,17,18,19,20,21,25],scale:[2,5,8,11,13,14,20,21,25],scale_to_axi:14,scale_to_path:13,scalepo:13,scanlon:[4,6],scatter:[0,4,6,9,14,18,20,25],scattering_r:13,scheme:14,scienc:6,scipi:6,scope:[4,24],scratch:11,screen:[4,14],script:[4,5,6,14,18,20,24],scs:[8,20],sdata:14,sean:6,search:1,second:[2,14,19,23],section:[2,9,14,18,25],see:[0,2,4,6,13],seebeck:[10,13,14,21],seem:25,select:[0,2,9,12,13,14,19,24],self:[10,14,18],semi:[],separ:[3,8,13,19,22],sequenc:[11,14],seri:24,set:[0,1,2,3,5,6,7,9,11,12,13,14,15,17,19,20,21,22,23],set_loc:[0,14,20,21],set_xlabel:[0,20,21],set_ylabel:[0,20,21],set_ylim:[8,19],setup:[7,10,23],sever:[2,5,17,18,19,21],shade:14,shape:[11,13,14,17,21],share:[2,13,19,24],sheet:[6,9,10,11,18,22],shenanegan:0,shift:14,short_label:[10,21,22],shorten:[8,20],shorthand:18,shoul:2,should:[0,6,13,14,15,17,20,21,22,23],show:[0,2,3,4,5,8,9,12,17,19,20,21,23,25],shown:[9,19],shrink:10,shrunk:10,side:[8,11],sidewai:14,sigma:[3,4,10,14],significantli:[4,11],similar:[5,9,13,16],simpl:[0,8,21],simplest:[4,6,16],simpli:[16,17,25],simplic:4,simplifi:6,simul:[4,20],sinc:4,singh:13,singl:[5,6,9,11,13,14,18,19,20,25],singli:10,singular:[],six:22,size:[4,8,10,11,17,20,22],skelton:14,slash:16,slightli:4,slower:11,small:[2,3,5,7,9,10,17,19,20,21,22,25],smaller:20,smallest:10,smear:[3,4],smooth:14,smtg:6,snyder:13,soc:13,solid:[12,14],solv:20,some:[4,5,9,11,17,18,20,21,23,24],someth:[14,16,20],sometim:14,somewhat:11,sort:[0,10],sourc:[6,10,11,12,13,14,15,17,21],space:[8,11,17,18,19,20],spacial:19,specialis:24,specialist:6,specif:[4,6,13,14,23],specifi:[0,2,3,5,13,14,18,19,20,21,22,23],sphinx:6,spin:13,split:[6,8,20],spooner:[4,6],squar:[11,16],src:6,stage:[6,17],stand:[18,20],standard:[10,13,18,19,22],standardis:13,start:[3,11,14,16,20],state:[2,6,8,13,14,19,25],stdout:13,step:[6,13,17,18],still:[6,14],stitch:15,stop:[18,20],str:[10,11,12,13,14,15],straightforward:[0,6],streamlin:[4,12,19],string:[13,14,18,19],strong:20,structur:[2,6,13,14,16,24],stuff:18,style:[6,8,9,10,11,18,20,21,22,24],stylelib:18,stype:[0,13],sub:[],subdictionari:[13,21],subfig:17,submit:6,submodul:[1,7],subpackag:[1,7],subplot:6,subplots_adjust:21,subsequ:11,subset:14,substitut:[6,16],suffix:[11,21],suggest:[15,23],suit:[6,9,11],suitabl:[9,23],sum:13,sumo:13,sup:5,supercel:[4,8,17,18,20],supplement:6,suppli:[2,5,9,14,15],support:[2,6,20],sure:[5,14,21],swap:[6,13],symmetri:[6,9,14,15,17],symmop:14,symop:14,symprec:15,tab10:14,tag:[0,2,9,16,25],take:[6,11,13,14,16,17,18,19,21],taken:[14,17],target:[4,5,6,13,14],tco:4,tdata:0,tell:18,temperatur:[0,2,4,5,6,9,10,12,13,14,18,20,21,25],temperature_opt:12,templat:[5,22],test:1,text:[11,16],than:[3,4,8,9,11,13,14,18,19,20,22,25],thank:6,thats:4,thei:[0,6,8,13,14,17,18,19,20],them:[0,4,8,17,18,19,20],themselv:16,therebi:0,therefor:[4,20],thermal:[4,5,6,10,13,14,17,18,20,21,25],thermal_conduct:10,thermoelectr:[4,6,21],thermopars:[0,4,5,6,10,16,17,18,19,21,24],thermoplott:[],thi:[0,2,3,4,5,6,8,9,10,13,14,15,16,17,18,19,20,21,24,25],thing:[3,4,11,14,16,17,21],third:[4,23],those:[5,6,14,22],three:[4,5,11,13,16,17,19],three_h:11,three_h_colourbar:11,three_squar:11,three_square_colourbar:11,through:[3,6,19,21],throughout:17,thrown:[5,17],thz:10,tick:[0,8,10,13,14,20,22],tick_label:14,tick_posit:14,ticklabel:14,tickpo:13,tidi:18,tidier:5,tile:14,tile_properti:14,time:[4,5,13,18,21,23],tinterp:13,tiresom:6,titl:[0,2,3,8,19,21],tmax:13,tmin:[13,21],to_amset:10,to_boltztrap:10,to_phono3pi:10,to_tp:10,to_xxx:22,togeth:[13,15,19],toggl:[12,16],tol:14,toler:14,too:[14,17,22,23],tool:[4,5,6,13,14,15,23],toolkit:6,top:[5,9,11,16,18,19,20,21,22,25],total:[0,3,4,13,14,16],totalcolour:14,totallabel:14,tprc:[6,10,14,24],tracker:6,tradit:14,translat:10,transpar:[4,18],transport:[4,6,10,13,19,21],transport_75x75x75:[4,5,21],transvers:14,transverse_1:[],transverse_2:[],treat:14,trend:4,trivial:17,trnasport:[],tstep:13,tupl:14,turn:[13,14,20],tutori:[0,1,4,6],twice:14,two:[2,3,5,6,8,9,11,14,15,17,18,21,23],two_h:[0,2,3,11,20],two_h_colourbar:11,two_v:[11,20],two_v_colourbar:11,type:[4,6,8,10,11,12,13,14,15,16,17,18,24],typic:16,ucl:[],unalik:19,under:[5,6,8,12,14],undercolour:14,underli:[17,22],uniform:[5,14,18],unit:[6,10,13,17,21,22,24],unitest:6,unittest:6,unless:14,unoccupi:14,unsmear:3,unweight:23,unweighted_kpoint:23,updat:[10,22],url:4,usag:[2,16],use:[0,2,4,5,6,9,10,14,16,17,18,20,21,22,24,25],use_tprc:10,used:[0,2,3,4,5,6,8,9,10,11,14,16,17,18,19,20,21,24,25],useful:[4,6,8,9,11,14,19,21],user:[5,6,9,18,22,24],uses:[5,6,11,18,19,23],using:[0,4,5,6,10,13,14,17,19,21],usr:[0,2,3,5,8,9,17,18,19,20,21,25],usual:[8,16,19],util:[0,4,7,10,20,21,23],valu:[3,10,13,14,16,20,21,23],valuabl:5,vari:[4,13],variabl:[10,13,14,20,21],variable_nam:21,variat:21,variou:[6,8,14],vasp:[7,10,13,14,23,24],vasprun:13,veloc:[4,10,17],verbos:[6,12,14],verbose_opt:12,veri:[0,23],version:[2,4,9,13,17,18,19,20],vertic:[11,20],via:[0,4,5,9,16,17,19,21],vibrat:17,viridi:[9,14,20,25],viridis_r:14,visibl:[14,20],volum:[],wai:[3,4,5,6,14,16,17,18,19],want:[0,2,5,6,9,14,18,19,22,23],warda:6,waterfal:[2,6,14,20],wavevector:13,weight:[0,4,13,15],weighted_kpoint:23,weighted_mfp:0,weighted_r:[0,13],welcom:[6,22],well:[3,4,10,14,20,24,25],wether:5,wget:4,what:[15,18,21,23],when:[0,4,6,10,21,23,24],where:[4,5,6,11,14,17,18,20,21,25],wherea:14,whether:[6,12],which:[0,2,3,4,5,6,8,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25],whilst:11,white:[5,9,14],who:6,whole:[3,13,14,17],wide:[6,18],wideband:[4,9,18],widen:4,widest:9,width:[10,11,14],wiedemann:13,willi:6,wink:[],winter_r:[14,20],within:[5,14,17],without:[5,13,15,20,22,23],work:[4,9,11,12,13,14,20,21],worker:14,workflow:4,worri:22,worth:[13,20],would:[13,14,15,20,22,23],wrap:5,wrapper:[6,10,13,14],write:[13,14,15,22],written:[16,18],wrt:[10,13],x_tick:14,xdata:13,xinterp:14,xmarker:[2,14],xmarkkwarg:14,xmax:14,xmin:14,xml:13,xquantiti:14,xscale:14,xxx:[],xxx_name:22,xy_limit_opt:[],y_tick:14,yaml:[4,6,8,9,10,13,14,17,18,19,20,24],yamldata:13,year:[],yet:[2,20],yinterp:14,ymarker:[2,14],ymax:14,ymin:14,you:[0,2,4,5,6,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25],your:[4,5,6,11,17,18,19,22],your_hdf5_path:6,yourself:14,yourstyl:22,yquantiti:14,yscale:14,yyi:[],zdiff:4,zero:[5,13,14,15],zero_weight:15,zhu:6,zno:[2,4,5,8,9,17,18,19],zt_fromdict:10,ztdiff:[4,5,16],ztmap:[4,5]},titles:["Average Rates","ThermoParser","Cumulative Lattice Thermal Conductivity","Density of States (DoS)","Gallery","Heatmaps","Installation","tp","Phonons","Projected Phonons","tp package","tp.axes package","tp.cli package","tp.data package","tp.plot package","tp.setup package","Tutorial-00: CLI Fundamentals","Tutorial-01: Python Foundations","Tutorial-02: Individual Customisation","Tutorial-03: Compound Axes","Tutorial-04: Layered Plots","Tutorial-05: Helper Functions","Tutorial-06: Package Customisation","Tutorial-0X: Miscellaneous Assists","Tutorials","Waterfall"],titleterms:{"function":21,Axes:[17,18,19,20,21],DoS:3,assist:23,averag:0,axes:11,calcul:10,cli:[6,12,16],colour:14,colourmap:18,command:6,compound:19,conducit:23,conduct:2,content:[10,11,12,13,14,15],contribut:6,contributor:6,cumul:2,customis:[18,22],data:13,densiti:3,extend:22,format:20,foundat:17,frequenc:14,fundament:16,galleri:4,heatmap:[5,14],help:17,helper:21,indic:1,individu:18,instal:6,interfac:6,label:21,larg:11,lattic:[2,23],layer:20,legend:[11,19,21],licens:6,line:[6,17,18,19,20,21],load:[13,17,18,20],locat:21,mac:6,merg:23,mfp:14,miscellan:23,modul:[10,11,12,13,14,15],more:17,note:4,option:12,packag:[10,11,12,13,14,15,22],phonon:[8,9,14],plot:[14,17,18,19,20],point:23,project:9,python:[6,17],rate:0,refer:4,requir:6,resolv:21,run:13,save:[13,17],set:10,setup:15,small:11,state:3,submodul:[10,11,12,13,14,15],subpackag:10,tabl:1,target:23,test:6,thermal:[2,23],thermopars:[1,22],thermoplott:[],tick:21,tprc:22,tutori:[16,17,18,19,20,21,22,23,24],usag:[],util:[13,14],variabl:18,vasp:15,waterfal:25,weight:23,yaml:22,zero:23}})
\ No newline at end of file
+Search.setIndex({docnames:["avg-rates","contents","cumkappa","dos","gallery","heatmaps","index","modules","phonons","prophon","tp","tp.axes","tp.cli","tp.data","tp.plot","tp.setup","tutorial-00","tutorial-01","tutorial-02","tutorial-03","tutorial-04","tutorial-05","tutorial-06","tutorial-0X","tutorials","waterfalls"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,"sphinx.ext.intersphinx":1,"sphinx.ext.viewcode":1,sphinx:56},filenames:["avg-rates.rst","contents.rst","cumkappa.rst","dos.rst","gallery.rst","heatmaps.rst","index.rst","modules.rst","phonons.rst","prophon.rst","tp.rst","tp.axes.rst","tp.cli.rst","tp.data.rst","tp.plot.rst","tp.setup.rst","tutorial-00.rst","tutorial-01.rst","tutorial-02.rst","tutorial-03.rst","tutorial-04.rst","tutorial-05.rst","tutorial-06.rst","tutorial-0X.rst","tutorials.rst","waterfalls.rst"],objects:{"":{tp:[10,0,0,"-"]},"tp.axes":{large:[11,0,0,"-"],legend:[11,0,0,"-"],small:[11,0,0,"-"]},"tp.axes.large":{four_square:[11,1,1,""],four_square_colourbars:[11,1,1,""],one:[11,1,1,""],one_colourbar:[11,1,1,""],one_dos:[11,1,1,""],one_dos_colourbar:[11,1,1,""],three_h:[11,1,1,""],three_h_colourbars:[11,1,1,""],three_square:[11,1,1,""],three_square_colourbars:[11,1,1,""],two_h:[11,1,1,""],two_h_colourbars:[11,1,1,""],two_v:[11,1,1,""],two_v_colourbars:[11,1,1,""]},"tp.axes.legend":{add_add_legend:[11,1,1,""],alphabetise:[11,1,1,""],consolidate:[11,1,1,""]},"tp.axes.small":{four_square:[11,1,1,""],four_square_colourbars:[11,1,1,""],one:[11,1,1,""],one_colourbar:[11,1,1,""],one_dos:[11,1,1,""],one_dos_colourbar:[11,1,1,""],three_h:[11,1,1,""],three_h_colourbars:[11,1,1,""],three_square:[11,1,1,""],three_square_colourbars:[11,1,1,""],two_h:[11,1,1,""],two_h_colourbars:[11,1,1,""],two_v:[11,1,1,""],two_v_colourbars:[11,1,1,""]},"tp.calculate":{be_occupation:[10,1,1,""],cumulate:[10,1,1,""],dfdde:[10,1,1,""],fd_occupation:[10,1,1,""],from_tp:[10,1,1,""],gaussian:[10,1,1,""],interpolate:[10,1,1,""],kl:[10,1,1,""],kl_fromdict:[10,1,1,""],lifetime:[10,1,1,""],lorentzian:[10,1,1,""],mfp:[10,1,1,""],power_factor:[10,1,1,""],power_factor_fromdict:[10,1,1,""],thermal_conductivity:[10,1,1,""],to_tp:[10,1,1,""],zt:[10,1,1,""],zt_fromdict:[10,1,1,""]},"tp.cli":{cli:[12,0,0,"-"],options:[12,0,0,"-"]},"tp.cli.options":{adminsitrative_options:[12,1,1,""],axes_limit_function:[12,1,1,""],direction_function:[12,1,1,""],doping_function:[12,1,1,""],doping_type_option:[12,1,1,""],dos_function:[12,1,1,""],fill_options:[12,1,1,""],heatmap_options:[12,1,1,""],inputs_function:[12,1,1,""],interpolate_options:[12,1,1,""],kpoints_options:[12,1,1,""],legend_function:[12,1,1,""],line_options:[12,1,1,""],plot_io_function:[12,1,1,""],temperature_option:[12,1,1,""],verbose_option:[12,1,1,""]},"tp.data":{load:[13,0,0,"-"],run:[13,0,0,"-"],save:[13,0,0,"-"],utilities:[13,0,0,"-"]},"tp.data.load":{amset:[13,1,1,""],amset_mesh:[13,1,1,""],boltztrap:[13,1,1,""],get_path:[13,1,1,""],phono3py:[13,1,1,""],phonopy_dispersion:[13,1,1,""],phonopy_dos:[13,1,1,""],phonopy_gruneisen:[13,1,1,""],scale_to_path:[13,1,1,""]},"tp.data.run":{boltztrap:[13,1,1,""]},"tp.data.save":{cumkappa:[13,1,1,""],hdf5:[13,1,1,""],kappa_target:[13,1,1,""],phono3py:[13,1,1,""],prompt:[13,1,1,""],zt:[13,1,1,""]},"tp.data.utilities":{merge:[13,1,1,""],resolve:[13,1,1,""]},"tp.plot":{colour:[14,0,0,"-"],frequency:[14,0,0,"-"],heatmap:[14,0,0,"-"],mfp:[14,0,0,"-"],phonons:[14,0,0,"-"],utilities:[14,0,0,"-"]},"tp.plot.colour":{elbow:[14,1,1,""],highlight:[14,1,1,""],hsb2rgb:[14,1,1,""],linear:[14,1,1,""],skelton:[14,1,1,""],uniform:[14,1,1,""]},"tp.plot.frequency":{add_cum_kappa:[14,1,1,""],add_density:[14,1,1,""],add_dos:[14,1,1,""],add_projected_waterfall:[14,1,1,""],add_waterfall:[14,1,1,""],format_waterfall:[14,1,1,""]},"tp.plot.heatmap":{add_heatmap:[14,1,1,""],add_kappa_target:[14,1,1,""],add_pfdiff:[14,1,1,""],add_pfmap:[14,1,1,""],add_ztdiff:[14,1,1,""],add_ztmap:[14,1,1,""]},"tp.plot.mfp":{add_cum_kappa:[14,1,1,""],add_markers:[14,1,1,""]},"tp.plot.phonons":{add_alt_dispersion:[14,1,1,""],add_alt_projected_dispersion:[14,1,1,""],add_dispersion:[14,1,1,""],add_multi:[14,1,1,""],add_projected_dispersion:[14,1,1,""],add_wideband:[14,1,1,""],formatting:[14,1,1,""],get_equivalent_qpoint:[14,1,1,""],tile_properties:[14,1,1,""]},"tp.plot.utilities":{colour_scale:[14,1,1,""],parse_colours:[14,1,1,""],scale_to_axis:[14,1,1,""],set_locators:[14,1,1,""]},"tp.settings":{amset_conversions:[10,1,1,""],boltztrap_conversions:[10,1,1,""],boltztrap_dimensions:[10,1,1,""],conversions:[10,1,1,""],dimensions:[10,1,1,""],inverted_labels:[10,1,1,""],labels:[10,1,1,""],locator:[10,1,1,""],long_labels:[10,1,1,""],medium_labels:[10,1,1,""],phono3py_conversions:[10,1,1,""],phonopy_conversions:[10,1,1,""],short_labels:[10,1,1,""],to_amset:[10,1,1,""],to_boltztrap:[10,1,1,""],to_phono3py:[10,1,1,""],to_tp:[10,1,1,""],units:[10,1,1,""]},"tp.setup":{vasp:[15,0,0,"-"]},"tp.setup.vasp":{gen_ibz:[15,1,1,""],get_kpar:[15,1,1,""],get_kpoints:[15,1,1,""]},tp:{axes:[11,0,0,"-"],calculate:[10,0,0,"-"],cli:[12,0,0,"-"],data:[13,0,0,"-"],docstring_replace:[10,1,1,""],plot:[14,0,0,"-"],settings:[10,0,0,"-"],setup:[15,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"00b1f7":[20,25],"00ffff":3,"05352503e":13,"0th":13,"15478198e":13,"16227766e":13,"1e18":21,"1e19":[0,4,16,21],"1e20":21,"1e21":21,"21696503e":13,"33352143e":13,"37137371e":13,"3x1":15,"3x3":[13,21],"44e":13,"44ffff":14,"49381632e":13,"49894209e":13,"53992653e":13,"59c605":[2,20,25],"62341325e":13,"65174127e":13,"65964323e":13,"6x1":13,"73841963e":13,"77827941e":13,"7b8eff":[2,4,8,19],"86967525e":13,"case":[4,5,9,13,14,15,16,17,18,19,20],"default":[3,6,8,9,10,11,12,13,14,15,19,20,22,24],"final":[5,22],"float":[10,11,13,14,15],"function":[0,2,4,5,6,8,9,10,11,12,14,16,17,18,19,20,22,23,24],"import":[0,2,3,5,8,9,14,17,18,19,20,21,25],"int":[10,11,12,13,14],"long":[4,8,10,17,18,22],"new":[6,13,22],"null":14,"public":6,"return":[5,10,11,12,13,14,15,16,17,21],"short":[10,16],"tom\u00e1":6,"true":[2,3,5,8,9,10,11,12,13,14,19,20,25],"try":13,"while":[0,2,6,8,14,16,17,20,22,25],APS:[],Adding:6,And:[2,3,4,17,18,19,25],Axes:[0,2,5,6,8,9,11,24,25],DoS:[2,4,6,8,11,12,13,14,18,19,20,22,25],For:[19,21,22],Has:14,IDEs:17,Not:[13,21,23],The:[0,2,3,4,5,6,11,14,16,17,18,19,20,21,22,23],Then:16,There:[4,5,21,22],These:[6,18,20,22],Use:6,Useful:13,Uses:10,Using:[4,6],ZTs:[5,10,14],___:6,_____:6,________:6,____________:6,_______________________:6,_________________________________:[],____________________________________:6,______________________________________:[],_______________________________________________________________:[],________________________________________________________________:6,__main__:[9,18],__name__:[9,18],_colourbar:20,_phy:[],abbrevi:[10,24],abil:[2,4],about:22,abov:[0,2,4,5,9,13,18,19,20,21,25],abs:0,accept:[2,8,13,14,18],access:[16,17,18,20,21],accompani:14,accord:[],account:13,accur:[4,23],achiev:[23,25],acoust:[9,19],across:0,action:6,actual:[9,14,22],adata:[5,21],add:[0,2,4,5,6,8,9,10,11,13,14,17,20,21,22,25],add_:14,add_add_legend:11,add_alt_dispers:[9,14],add_alt_projected_dispers:14,add_cum_kappa:[2,14],add_cumkappa:20,add_dens:[14,25],add_dispers:[8,14,17,19],add_do:[2,3,8,14,19,20,25],add_heatmap:[5,14],add_kappa_target:[5,14],add_legend:[0,2,3,5,8,9,11,17,19,20,25],add_mark:14,add_multi:[8,13,14,20],add_pfdiff:[5,14],add_pfmap:[5,14],add_projected_dispers:[9,14],add_projected_waterfal:[14,20,25],add_subplot:21,add_waterfal:[14,20,25],add_wideband:[9,14,18],add_xtick:14,add_ytick:14,add_ztdiff:[5,14],add_ztmap:[5,14],added:[2,11,13,14,22],adding:[0,5,20],addit:[11,14,25],adjust:[14,25],adminsitrative_opt:12,aesthet:6,affect:19,affero:6,afil:21,after:[6,16],afterward:16,again:6,against:[0,2,4,5,6,10,13,14,25],agplv3:6,aid:[14,21],aim:13,alia:[22,25],alias:22,align:8,all:[0,2,5,6,8,9,11,13,14,16,17,18,19,20,22,23],allow:[2,4,12,13,14,18,22],almost:21,along:[6,9,16,17,21],alongsid:19,alpha:[11,14,18,20,25],alphabetis:[6,11,21],alreadi:[3,6,14,18],also:[0,2,3,4,5,6,8,9,11,13,17,18,19,20,21,24],alt_dispers:14,alt_phonon:[9,18],alter:[4,6,21],altern:[2,5,25],although:[4,5,20],alwai:[8,14,19],among:4,amoung:14,amount:25,amset:[4,5,6,10,13,21,23],amset_convers:10,amset_mesh:[0,13],amset_ord:10,analys:13,analysi:6,analyt:4,ancillari:[0,14,17,19,24],anharmon:[],ani:[5,6,13,17,21],anisotrop:14,ann:13,anoth:[4,9],anticip:20,anyth:6,anywai:3,api:1,apl:13,appear:19,append:16,appli:[3,14,17],applic:[5,14,18,21],appreci:6,approach:[6,18],appropri:[5,6,8,21],approxim:[2,4,5,14],arab:[11,21],arbitrari:13,area:[6,10,17],arguement:2,argument:[2,3,5,6,8,11,12,14,16,18,19,20,21,22,24],aris:6,arith:13,arithmet:13,around:[2,6,9],arrai:[5,6,9,10,11,12,13,14,15,17,21],articl:[],ascend:15,asid:19,aspect:22,assign:17,assist:[17,24],assum:[10,13,14],atom:[2,3,4,13,14,19],attach:11,attempt:14,author:[],auto:14,auto_legend_opt:[],automat:[5,9,10,11,21],avail:[4,6,11,13,16,17,18,21],averag:[4,13,14],average_eff_mass:13,avg:[0,4,13,14,16,20,21,25],avg_rat:[],avoid:15,awai:[5,17],axes:[0,2,3,4,5,6,7,8,9,10,12,13,14,17,18,19,20,21,22,24,25],axes_limit_funct:12,axi:[2,4,6,8,9,10,11,14,20,22,25],axis1:10,axis2:10,axlabel:[0,20,21],axvlin:14,background:9,balanc:21,band:[2,4,8,9,10,13,14,17,18,19,20,25],bandmax:[9,14],bandmin:14,bar:14,barzegari:6,base:[11,14,18],basic:[13,17,22,23],basno3:[0,3,4,5,8,20,21,25],basno:[4,20],basno_3:3,bbox_to_anchor:11,be_occup:10,becaus:[4,14],been:[2,4,5,9,16,18,22],befor:[10,13,23],behav:22,being:20,below:[4,5,13,14],besid:4,bespok:6,best:[2,6,21],beta:11,better:[8,11,17,20],between:[5,14,17,18,19,25],bewar:3,beyond:24,bfile:5,bham:6,big:25,bigradi:14,bin:[0,2,3,5,8,9,17,18,19,20,21,25],bit:9,black:[4,5,9,14,18],blank:11,blue:[0,4,14,25],boltzmann:13,boltztrap:[4,5,6,10,13,23],boltztrap_convers:10,boltztrap_dimens:10,boltztraprunn:13,bonan:6,bonu:[],bool:[10,11,12,13,14],bose:10,boson:[],both:[2,4,5,8,13,14,20],bother:23,bottom:[11,19,21],bracket:16,branch:17,bre:[],bretheren:23,brew:6,brief:[4,24],bright:14,brlec:6,broaden:[9,14,18,20],broader:18,browser:4,bug:6,build:6,built:[6,13],bundl:8,burden:23,c_limit_opt:[],cacul:23,calcul:[0,1,4,5,7,13,14,15,17,18,19,23,24],call:14,can:[0,2,3,4,5,6,9,10,11,13,14,16,17,18,19,20,21,22,23,24,25],cannot:[13,15,25],capitalis:21,care:17,carrier:[4,5,12,13],caus:[18,20],cbar:25,center:10,centr:[5,6],certain:14,chang:[0,14,22],channel:13,charact:25,charg:13,chem:4,chemic:13,choic:11,choos:5,chose:[],chronolog:6,circumv:6,clark:6,classic:[4,5],clean:[9,13],clearer:[9,25],cli:[1,5,7,10,17,18,19,20,21,24],click:[4,6,12],clone:6,close:[3,5,8],closest:14,cmap:[14,20],cmax:[14,18],cmid:14,cmin:[14,18],cnorm:14,code:[4,6,13,17,18,19,20,22],coeffici:[10,13,21],collat:13,color:[0,14],colorbar:14,colormap:14,colour1:14,colour2:14,colour:[0,2,3,5,6,7,8,9,10,12,18,19,20,25],colour_scal:14,colourbar:[5,11,14,20],colourmap:[4,5,6,9,14,20,24],column:11,com:6,combin:[2,8,11,23],come:[4,11,18,20,21],command:[0,1,2,4,5,8,9,12,16,17,18,24,25],common:[10,13],commun:13,compar:[3,5,8,14,19],comparison:4,compat:13,compil:24,complet:5,complex:[4,18,24],complic:[20,25],compon:[14,18],composit:18,compound:[4,24],comprehens:[5,6,20],compress:8,compund:[],comput:13,concentr:[4,5,6,12,13],conda:6,condit:[5,12,13,18],conduct:[0,4,5,6,10,13,14,17,18,19,20,21,23,25],conductivit:[],config:[6,10,14,18,22],configur:[20,22],conflict:22,confus:13,conjunct:2,connect:25,conserv:10,consid:23,consist:[13,17],consolid:[4,11,19,21],constant:[4,5,13,14],constitu:[2,25],constraint:13,contain:[6,10,13,14,17,19,20,21,22],content:[1,7],continu:14,contour:[5,14],contourcolour:14,contourf:14,contourkwarg:14,contract:[],contrast:[],contribut:[1,2,4,13,19,20,22],contributor:1,control:[2,18],conveni:[8,10,14],convent:11,converg:[8,20,23],convers:[6,10,13,17,22],convert:[10,13,14,22],copi:[6,10],core:21,correct:13,correctli:25,correspond:[19,20],cosmet:4,cost:23,could:[4,8,14,18,19,20],counterpart:2,coupl:[13,18],cover:[17,20,21],creat:[12,15,23],crta:[4,5],crystal:[13,14],cscale:14,csv:13,cumkappa:[2,13,25],cumul:[6,10,13,14],current:[0,6,8,13,20],currenti:8,curv:[],custom:[2,3,4,5,9,10,17,18,19,21],customais:24,customis:[4,10,14,16,17,21,24],cut:9,cutom:24,cyan:[3,4],cycl:14,cython:6,d46ef9:[2,4,8,19],daniel:6,dark:25,dark_background:[4,9,18],dat:[2,3,4,8,13,19,20,25],data1:[10,14],data2:[10,14],data:[0,2,3,4,5,6,7,8,9,10,14,16,17,18,19,20,21,22,23,24,25],dataset:[4,10,14,24],davi:6,david:6,ddata:0,deal:[11,14],dealt:13,dear:14,deault:14,decid:[5,14],decompos:14,decor:12,decreas:18,decript:11,def:[9,18],defin:[11,14,20],defloc:11,degre:[5,18],delimit:[18,19],demonstr:[2,4,8,9,24],dens:23,denser:23,densiti:[2,6,8,13,14,19,25],depend:[6,10,13,19,21],depth:[],deriv:[0,6,10,13],descript:[2,11,16,17],design:[6,19],desir:3,detail:[4,6,16],detect:3,determin:[14,19],deviat:10,dfdde:10,dfile:[19,20,25],dict:[10,11,13,14],dictionari:[3,10,13,14,17,21,22,23],differ:[3,4,5,8,13,14,17,19],dimens:[10,13,21],dimes:13,dinterp:13,dip:20,dirac:[0,4,10,13],direct:[2,5,12,13,14,20,21,25],direction_funct:12,direction_opt:[],directions_opt:[],directli:[0,6,14,16,18],directori:[4,6,10,13,22],disabl:3,discard:19,discreet:[],discret:[4,5,14],discuss:[17,19],dispar:24,dispers:[4,6,8,9,13,14,17,18,19,20],displai:14,distinguis:13,distribut:[0,10,13],divers:2,doc:[6,17],docstr:[6,17],docstring_replac:10,document:6,doe:[0,3,13,14,21],doesn:[4,14,20],doing:13,domin:19,don:[6,14,17],done:[2,4,5,8,17,19],dopabl:5,dopant:10,dope:[0,6,10,12,13,14,21],doping_funct:12,doping_opt:[],doping_type_opt:12,dopings_opt:[],dos1:3,dos2:3,dos:[2,3,4,8,11,14,19,20,25],dos_funct:12,dos_opt:[],dosarg:12,doscolour:[4,8,19],dosfil:[2,3,8],doss:[3,4,19,22],doubl:[10,11],down:[13,18,20],download:[4,6],draw:[11,19],dream:11,drop:25,dtype:13,due:[4,9,16,18,22],duplic:[11,19,21],dure:4,dynam:5,each:[4,6,11,13,14,17,19,20,22],eas:6,easi:[13,22],easier:3,easili:[4,6,16,17,21],edgecolor:14,edit:[10,14,18],editor:6,effect:[0,2,4,11,13,17],effic:4,effici:[21,23],effort:20,efil:[5,13],einhorn:6,einstein:10,either:[4,14,19,21],elbow:[14,18],electr:[4,13,21],electron:[4,6,10,13],electronic_structur:13,electronic_thermal_conduct:[10,13,14],element:[14,25],els:[6,13,14,16],elsewher:22,empti:11,enabl:[3,4,5,20],enclos:14,end:[0,2,4,11],endaevor:19,energi:[10,13,14,18],enhanc:[5,19],enric:6,ensur:[17,21],entir:3,entri:14,enumer:[0,11,21],env:[0,2,3,5,8,9,17,18,19,20,21,25],environ:[3,13,19],equal:[0,5,23],equival:[5,6,13],error:[6,13],especi:9,etc:[3,10,11,13,14,22],evan:6,even:[11,14,21],everi:[14,17],everyth:20,exactli:[18,21],exampl:[0,4,6,18,19,20,21,22,24,25],except:[0,2,5,9,16,18,20,21,22,25],exclud:[0,14],exist:[],exit:12,expand:[22,24],expans:[5,8],expens:[5,23],experiment:3,explan:4,explicit:4,extend:14,extens:[5,13,17],extern:13,extra:[6,14,22,24],extract:13,f0901f:[4,8,19],facilit:24,factor:[4,5,10,13,14,17],fade:14,fail:14,fals:[2,3,10,12,13,14,20,25],far:6,faster:13,fd_occup:10,fd_weight:13,featur:[6,14],feel:6,fein:4,fermi:[0,4,10,13],fermi_level:[10,13],fermion:[],few:[6,23],fewer:14,ff0000:[3,9,18],ff00ff:3,ff4444:14,ff8000:[3,14],ff8044:14,ffcf06:[2,20,25],ffff00:[],ffffff:14,fickl:13,fig:[0,2,3,5,8,9,17,18,19,20,21,25],figsiz:21,figur:[2,4,6,11,17,19,21],file:[0,2,4,5,6,8,9,12,13,14,15,16,17,18,20,21,22,23,25],filenam:[12,13,15],filepath:[13,14],filetyp:13,fill:[12,14],fill_between:14,fill_opt:12,fillabl:12,fillalpha:[12,14],fillcolour:14,find:[4,5,14],first:[2,13,14,17,21,22,23,25],fit:[13,14],five:22,flat:11,flatten:11,focu:16,folder:[0,2,4,5,6,9,18,20,21,25],follow:[2,6,13,17],font:[11,22],foolproof:3,forc:[13,14],fork:6,form:[10,13],format:[4,5,6,8,13,14,17,19,21,22,24],format_waterfal:[14,20,25],former:4,formula:13,found:[0,2,4,5,9,10,13,17,18,20,21,25],foundat:24,four:[4,6,11,17],four_squar:11,four_square_colourbar:11,francesco:6,franz:13,free:[0,2,4,6,10,13,14,20,25],frequenc:[2,3,4,6,7,8,9,10,13,17,18,19,20,25],frequent:6,friend:13,from:[0,2,3,4,5,6,9,10,11,13,14,16,17,18,19,20,21,22,25],from_fil:13,from_tp:10,full:[10,14,16],fulli:21,fundament:24,further:[6,16],futur:18,fwhm:10,galleri:[1,6,24],gamma:[9,10,11,14,18],ganos:4,gaussian:[3,4,10,14],gen:[4,23],gen_ibz:15,gener:[3,4,5,6,9,13,14,15,18,20,23,24],get:[0,2,4,5,6,9,10,13,16,18,20,21,22,23,24,25],get_cmap:14,get_equivalent_qpoint:14,get_kpar:[15,23],get_kpoint:[15,23],get_path:13,get_work:[],get_ylim:[8,19],getsiz:[0,2,5,9,18,20,21,25],git:6,github:6,give:[0,4,17],given:[4,14,15,16],glean:17,glob:20,gnu:6,goe:17,good:[3,14,19],gradient:[14,17],graph:[0,2,6,14,19,20],grau:6,greater:[11,18],greatli:6,greek:[11,21],grei:14,grid:[21,23],gridspec:21,group:[4,8,10,12,17],group_veloc:[10,14],gruneisen:[9,13],guidelin:11,gv_by_gv:14,h5py:6,half:10,hand:4,handi:18,handl:[2,5,11,12,14,19,21],harm:13,harmon:13,has:[2,5,6,9,11,17,20,22],have:[0,2,4,6,8,11,13,14,16,17,18,19,20,22,23,24],haven:4,hdf5:[2,4,5,6,9,13,18,20,21,25],hdf5_dir:6,heat:19,heat_capac:14,heatmap:[4,6,7,10,12,18],heatmap_opt:12,height:[10,11],help:[5,12,14,15,16,19,24],helper:[6,20,24],here:[2,3,5,9,17,18,19,20,21,22,24],hex:[5,9,14],hidden:9,high:[6,9,14,17,21,25],higher:[],highlight:[4,5,13,14,20,25],hint:16,hope:[4,5,24],horizont:[11,20],how:[5,13,14,16,20,22,24],howev:[15,20,21,23],hsb2rgb:14,hsb:14,html:6,http:6,hue:14,ibz_weight:13,ibzkbt:12,ibzkpt:[12,15],idea:6,ident:13,ignor:[2,13,14,15,18,20,23,25],iii:11,imag:[0,4,6],imaginari:[10,14,17,18],imp:[0,13],includ:[0,2,4,5,6,8,9,12,13,14,15,17,18,19,21],inclus:4,increas:23,independ:6,index:[1,10,13,14,19,20,25],indic:[9,13,17,18,19],individu:24,info:6,inform:[5,17,20,24],input:[4,5,9,10,12,13,14,15,16,17,18],input_argu:[],inputs_argu:[],inputs_funct:12,insid:19,instabl:17,instal:[1,18],instanc:3,instead:[0,9,13,14,16],inted:6,intefac:22,integ:[11,14],intellig:[],intend:4,intens:23,interact:4,interest:[4,24],interfac:[1,4,12,16,24],interfer:20,intern:11,interpol:[10,12,13,14,18,21],interpolate_opt:12,interpolation_factor:13,introduc:24,introduct:24,invert:[6,8,10,14,19,20,22],inverted_label:[10,22],ipython:17,irreduc:[13,15],irrelev:[],isfil:[0,2,5,9,18,20,21,25],isn:14,isol:6,issu:6,item:19,its:[4,5,9,14,16,18,21,22],itself:[2,17],joe:6,join:8,jonathan:14,joss:6,journal:[],json:[4,5,6,13,21],jupyt:17,just:[4,14,25],k_latt:[10,14],k_mode:13,kappa:[2,4,5,6,9,13,14,18,20,21,23,25],kappa_l:[13,14],kappa_sourc:5,kappa_target:13,kappafil:[2,9],katarina:6,kavanagh:6,kdata1:14,kdata2:14,kdata:[5,14,18,21],ke_mod:13,keep:[14,19],kei:[10,13,14],keys1:10,keys2:10,keyword:14,kfile:[5,9,13,18,20,21,25],kieran:6,kim:13,kind:[10,12,13,14],kinet:17,kl_fromdict:10,kmin:14,know:14,knowleg:6,kpar:[15,23],kpoint:[12,13,15,23],kpoints_opt:12,kwarg:[10,13,14,17,18,22],label1:[5,14],label2:[5,14],label:[0,2,4,5,6,8,10,11,12,13,14,19,20,22,24],label_do:11,larg:[0,4,7,8,9,10,17,18,21,22],large_:21,large_label:[0,22],large_styl:22,larger:[11,22],last:[14,17],later:[13,16,17],latin:[11,21],latter:4,lattic:[4,5,6,10,13,14,17,18,19,20,21,25],lattice_thermal_conduct:[10,14,21],law:13,layer:[2,13,24,25],layout:6,lead:4,least:8,leav:14,left:[2,3,4,11,19,21],legend:[0,2,4,5,6,7,8,10,12,14,17,24],legend_funct:12,legend_opt:[],legend_titl:[4,8,19],legibl:5,len:14,lend:[],length:[10,22],less:23,let:[6,24],letter:21,level:[10,13,14],librari:6,licens:1,lifetim:[9,10,13,14],like:[10,11,12,13,14,15,18,20,22,25],limit:[2,9,12,14,20],line:[0,1,2,3,4,5,8,9,12,14,16,24,25],line_opt:12,linear:[0,9,10,12,13,14,18,20,21],linearli:18,liner:8,linestyl:[3,12,14],linewidth:14,link:[14,19,20],linspac:14,list:[5,8,11,13,14,15,16,18,19,20,21,22],littl:6,live:14,load:[0,2,3,5,6,7,8,9,10,19,21,25],loc:[2,11,21],localis:19,locat:[0,2,3,4,10,11,14,19,20,22],log:[0,14,20,21],logspac:13,long_:[21,22],long_label:10,longer:6,longitudin:14,look:[4,6,20,22],loop:[8,13,14],lorentzian:10,low:[0,4,21,23],lower:[4,20],lowest:19,lpfac:13,ltc:10,luqu:6,m363636:[4,5,20,21,25],m404021:[2,4,5,9,18],m_e:13,mac:[1,9,18],machin:13,made:6,madsen:13,magenta:[0,3,4],mai:[0,2,3,4,5,6,11,13,14,19,21,22,23,24],main:[2,4,6,9,10,14,18,20,25],mainli:24,maintain:[4,11,13],major:[19,22],make:[0,5,9,11,13,14,18,20,23],mani:[4,6,13,16,18,22,24],manipul:[5,6,13],manner:13,manual:[3,5,8,9,11,12,17,19],map:[13,14],maradudin1962:[],maradudin:4,mark:[14,17],marker:[2,12,14],markerkwarg:14,mass:13,master:17,mat:13,match:[8,9,14,19],mater:4,materi:[0,4,5,6,8,14,15],mathregular:14,matplotlib:[0,6,14,17,18,19,21,22],matric:13,maud:6,max:14,maxim:14,maximis:14,maximum:[6,10,13,14,22],mean:[0,2,4,6,10,13,14,20,25],mean_free_path:[13,14,20,25],medium:10,medium_:[21,22],medium_label:10,memori:[13,23],mention:16,merg:[4,13],mesh:[12,13,15,16],mesh_75x75x75:[0,4],mesh_h5:16,meta:[5,13,21],metadata:[13,17,21,23],method:[5,13,17],mfp:[0,2,6,7,10,13,25],mid:14,midcolour:14,midpoint:[14,18],might:[18,22],min:14,mind:13,minimum:[13,14],minor:[21,22],miscellan:24,miss:11,mobil:13,mode:[3,4,6,9,17,18,19],mode_kappa:[2,13,14,25],model:13,modifi:21,modul:[1,6,7,16,17,19,22],modular:[6,16,22],mojtaba:6,momentum:[4,5],more:[3,4,5,6,8,9,11,13,14,16,18,19,20,21,23,24],most:[2,3,4,5,6,9,14,17,18,19,21,24],mostli:[4,6],mrta:[4,5],much:[4,20,23],multi:[2,4],multiphon:8,multipl:[4,5,6,12,13,14,16,18,19,23],multipli:13,multiprocess:[9,18],must:[2,5,13,14,16,19,22,23,25],muv:[10,13],name:[5,9,10,11,12,13,14,17,19,20,21],nanomet:2,nanostructur:[2,4,5],narg:12,nattino:6,natur:[11,22],navig:[4,6,16],ncol:[2,3],nearest:[13,14,21],necessari:[9,10,13,14,17,19],necessarili:15,need:[3,4,16,19,20,21,22],neg:17,negativecolour:14,neighbour:20,nest:[13,22],neutron:[],next:6,nice:[4,14],nofil:[2,12],nolegend:[3,4],nolin:12,non:[11,13,18,19,24],none:[11,12,13,14,15],nonstandard:12,norm:[13,14],normal:[0,6,9,11,13,14,16,17,19],normalis:14,notabl:16,notat:14,note:[1,2,5,13,14,24,25],noth:14,notot:16,notverbos:12,now:19,number:[2,4,5,11,12,13,14,17,19,21,22,24],numpi:[0,6,13],o_2:[3,4],object:[14,15],obscur:[14,25],obtain:23,occup:[10,13,14],occupi:10,occupt:14,off:[9,13,14,20],offer:[4,17,19],oft:4,often:[3,13,19,20,25],old:[4,13,17],one:[2,4,6,8,9,11,13,14,16,17,18,19,20,21,23,25],one_colourbar:[5,9,11,25],one_do:[8,11,19],one_dos_colourbar:11,ones:[4,11,13],onli:[0,6,8,9,11,12,13,14],onlin:6,onto:[4,6,9,13,14,20],opac:[12,14],open:6,oper:14,opportun:6,oppos:13,optic:14,option:[3,4,6,7,10,11,13,14,15,16,17],orang:[3,4],orbit:13,order:[2,3,4,6,11,13,14,15,19,21,23,25],ordin:[11,13],ordinari:17,orient:17,origin:10,other:[4,5,6,8,9,10,13,14,16,20,21],otherwis:14,our:[6,23],out:[0,14,24],outlier:9,outlin:4,output:[12,13,14,15,18],outsid:[4,11],over:[8,13,14],overal:[13,14],overcolour:14,overlai:4,overrid:[11,12,14,22],overridden:[12,13,14,22],overwrit:13,own:[6,11,17,18,19,22],oxid:4,packag:[1,4,6,7,21,24],page:1,paper:[8,9,11,17],parabol:13,paralellis:14,parallelis:[],paramet:[10,11,12,13,14,15,25],pars:[14,24],parse_colour:14,part:[2,14,16,17,19],particl:[],particular:[3,4,13,19,21],particularli:[0,2,9,13,18,24],pass:[13,14,18,21,22],path:[0,2,4,5,6,9,10,13,14,15,17,18,20,21,25],pcolormesh:14,pcolourmesh:5,pdata:[9,14,18],pdf:[0,2,5,8,9,25],peopl:4,per:[10,11,13,14],percent:[2,13,14,20],pertain:6,pfdiff:4,pfile:[9,18,19,20],pfmap:4,ph_ph_strength:14,phile:[8,9],phono3pi:[2,5,6,9,10,13,14,18,20,21,23,25],phono3py_convers:10,phonon:[2,3,4,6,7,10,13,17,18,19,20,23,25],phonop3i:13,phonopi:[3,4,6,8,9,10,13,14,17,19],phonopy_convers:10,phonopy_dispers:[8,9,13,17,18,19,20],phonopy_do:[2,3,8,13,19,20,25],phonopy_gruneisen:[9,13],phy:[4,13],physic:[],pick:[6,16],pictur:4,pie:0,piec:6,pink:[3,4],pip:6,place:[2,11,14,19],plai:0,pleas:[0,2,5,9,18,20,21,25],plot:[0,2,3,4,5,6,7,8,9,10,11,12,13,16,21,22,23,24,25],plot_io_funct:12,plot_io_opt:[],plottabl:21,plotter:[6,14],plt:[6,14,18,21,22],pmg:15,png:[0,2,3,5,8,9,17,18,19,20,21,25],point:[0,4,10,12,13,14,20,21,22,25],poorli:19,pop:0,popul:23,popular:0,poscar:[2,3,4,8,9,12,13,14,15,18,19,20,25],posit:[2,8,11,14,18,19,21],possibl:[5,8,15],post:13,poster:[8,9,11],postprocess:10,potenti:15,power:[4,5,10,13,14],power_factor:[10,13,14],power_factor_fromdict:10,pre:[2,4,8,11,17,19],precis:15,prefer:[8,13,17,22,25],prefix:[11,21],preinstal:18,present:[8,9,10,11,17],preset:[11,21],previou:19,primari:17,primarili:11,print:[13,18],problem:4,process:[0,4,6],produc:6,product:6,program:2,project:[3,4,6,13,14,18,20,25],projected_do:[2,3,4,8,13,19,20,25],prompt:13,prone:6,properli:20,properti:[4,6,9,13,14,21],prophon:9,provid:[4,6,9,10,11,12,13,14,17,18,21,22,23],publish:4,pull:6,purportedli:15,put:[5,18,22],pymatgen:[6,13,14],pyplot:[6,14,17,18,21],python3:[0,2,3,5,6,8,9,17,18,19,20,21,25],python:[0,1,2,3,4,5,8,9,16,18,19,20,21,22,24,25],qpoint:14,quadrant:11,qualiti:6,quantit:[4,9,13,14],quantiti:[0,2,6,9,10,13,14,18,20,21,22,25],quantitit:14,question:17,quicker:3,quickli:[4,14],rahim:6,rainbow:2,rainbowi:14,rais:[0,2,5,9,18,20,21,25],rang:[5,14,18,20],raster:14,rate:[4,13,16],rather:[3,4,14,19,20,21,22],raw:13,reach:[4,5,6],read:[3,10,13,17,22],reader:14,realist:4,reason:2,recalcul:4,reciproc:17,recognis:14,recommend:[6,13,15],record:5,recreat:3,red:[0,3,4,9,18],reduc:[2,4,13,23],refer:1,regular:25,reinstal:13,reinstat:14,rel:[0,2,11,17,18,22],relat:[4,5,8,18],relax:[4,5,13],relaxation_tim:13,releas:4,relev:6,reliev:13,remain:14,rememb:22,remov:[2,4,8,11,12,13,14,19,20,25],renam:[],repeat:[13,14,16],repetit:13,replac:[17,25],repo:4,repres:[0,5,18,21],request:6,requir:[1,2,3,4,5,12,13,14,16,18,21,23,25],rerun:[3,4],rescal:[4,5,8],resolv:[0,4,13],respect:[0,5,18,19,21,22],rest:[22,23],result:[4,14,23],retriev:[4,6,14],rev:4,revers:20,review:6,rgb2arrai:[],rgb:[5,9,14],rgba:14,right:[2,3,4,11,19,21],roman:[11,21],roughli:6,round:[13,21],row:11,rrggbb:[12,14],run:[4,5,6,7,9,10,14,18,20,23],run_dir:13,runner:[],safe_load:13,same:[3,4,5,6,8,13,14,15,17,19,20,21,22,24],sampl:14,satur:14,save:[0,2,5,6,7,8,9,10,18,19,20,21,22,25],savefig:[0,2,3,5,6,8,9,17,18,19,20,21,25],scale:[2,5,8,11,13,14,20,21,25],scale_to_axi:14,scale_to_path:13,scalepo:13,scanlon:[4,6],scatter:[0,4,6,9,14,18,20,25],scattering_r:13,scheme:14,scienc:6,scipi:6,scope:[4,24],scratch:11,screen:[4,14],script:[4,5,6,14,18,20,24],scs:[8,20],sdata:14,sean:6,search:1,second:[2,14,19,23],section:[2,9,14,18,25],see:[0,2,4,6,13],seebeck:[10,13,14,21],seem:25,select:[0,2,9,12,13,14,19,24],self:[10,14,18],semi:[],separ:[3,8,13,19,22],sequenc:[11,14],seri:24,set:[0,1,2,3,5,6,7,9,11,12,13,14,15,17,19,20,21,22,23],set_loc:[0,14,20,21],set_xlabel:[0,20,21],set_ylabel:[0,20,21],set_ylim:[8,19],setup:[7,10,23],sever:[2,5,17,18,19,21],shade:14,shape:[11,13,14,17,21],share:[2,13,19,24],sheet:[6,9,10,11,18,22],shenanegan:0,shift:14,short_label:[10,21,22],shorten:[8,20],shorthand:18,shoul:2,should:[0,6,13,14,15,17,20,21,22,23],show:[0,2,3,4,5,8,9,12,17,19,20,21,23,25],shown:[9,19],shrink:10,shrunk:10,side:[8,11],sidewai:14,sigma:[3,4,10,14],significantli:[4,11],similar:[5,9,13,16],simpl:[0,8,21],simplest:[4,6,16],simpli:[16,17,25],simplic:4,simplifi:6,simul:[4,20],sinc:4,singh:13,singl:[5,6,9,11,13,14,18,19,20,25],singli:10,singular:[],six:22,size:[4,8,10,11,17,20,22],skelton:14,slash:16,slightli:4,slower:11,small:[2,3,5,7,9,10,17,19,20,21,22,25],smaller:20,smallest:10,smear:[3,4],smith:6,smooth:14,smtg:6,snyder:13,soc:13,solid:[12,14],solv:20,some:[4,5,9,11,17,18,20,21,23,24],someth:[14,16,20],sometim:14,somewhat:11,sort:[0,10],sourc:[6,10,11,12,13,14,15,17,21],space:[8,11,17,18,19,20],spacial:19,specialis:24,specialist:6,specif:[4,6,13,14,23],specifi:[0,2,3,5,13,14,18,19,20,21,22,23],sphinx:6,spin:13,split:[6,8,20],spooner:[4,6],spott:6,squar:[11,16],src:6,stage:[6,17],stand:[18,20],standard:[10,13,18,19,22],standardis:13,start:[3,11,14,16,20],state:[2,6,8,13,14,19,25],stdout:13,step:[6,13,17,18],still:[6,14],stitch:15,stop:[18,20],str:[10,11,12,13,14,15],straightforward:[0,6],streamlin:[4,12,19],string:[13,14,18,19],strong:20,structur:[2,6,13,14,16,24],stuff:18,style:[6,8,9,10,11,18,20,21,22,24],stylelib:18,stype:[0,13],sub:[],subdictionari:[13,21],subfig:17,submit:6,submodul:[1,7],subpackag:[1,7],subplot:6,subplots_adjust:21,subsequ:11,subset:14,substitut:6,suffix:[11,21],suggest:[15,23],suit:[6,9,11],suitabl:[9,23],sum:13,sumo:13,sup:5,supercel:[4,8,17,18,20],supplement:6,suppli:[2,5,9,14,15],support:[2,6,20],sure:[5,14,21],swap:[6,13],symmetri:[6,9,14,15,17],symmop:14,symop:14,symprec:15,tab10:14,tag:[0,2,9,16,25],take:[6,11,13,14,16,17,18,19,21],taken:[14,17],target:[4,5,6,13,14],tco:4,tdata:0,tell:18,temperatur:[0,2,4,5,6,9,10,12,13,14,18,20,21,25],temperature_opt:12,templat:[5,22],test:1,text:[11,16],than:[3,4,8,9,11,13,14,18,19,20,22,25],thank:6,thats:4,thei:[0,6,8,13,14,17,18,19,20],them:[0,4,8,17,18,19,20],themselv:16,therebi:0,therefor:[4,20],thermal:[4,5,6,10,13,14,17,18,20,21,25],thermal_conduct:10,thermoelectr:[4,6,21],thermopars:[0,4,5,6,10,16,17,18,19,21,24],thermoplott:[],thi:[0,2,3,4,5,6,8,9,10,13,14,15,16,17,18,19,20,21,24,25],thing:[3,4,11,14,16,17,21],third:[4,23],those:[5,6,14,22],three:[4,5,11,13,16,17,19],three_h:11,three_h_colourbar:11,three_squar:11,three_square_colourbar:11,through:[3,6,19,21],throughout:17,thrown:[5,17],thz:10,tick:[0,8,10,13,14,20,22],tick_label:14,tick_posit:14,ticklabel:14,tickpo:13,tidi:18,tidier:5,tile:14,tile_properti:14,time:[4,5,13,18,21,23],tinterp:13,tiresom:6,titl:[0,2,3,8,19,21],tmax:13,tmin:[13,21],to_amset:10,to_boltztrap:10,to_phono3pi:10,to_tp:10,to_xxx:22,togeth:[13,15,19],toggl:[12,16],tol:14,toler:14,too:[14,17,22,23],tool:[4,5,6,13,14,15,23],toolkit:6,top:[5,9,11,16,18,19,20,21,22,25],total:[0,3,4,13,14,16],totalcolour:14,totallabel:14,tprc:[6,10,14,24],tracker:6,tradit:14,translat:10,transpar:[4,18],transport:[4,6,10,13,19,21],transport_75x75x75:[4,5,21],transvers:14,transverse_1:[],transverse_2:[],treat:14,trend:4,trivial:17,trnasport:[],tstep:13,tupl:14,turn:[13,14,20],tutori:[0,1,4,6],twice:14,two:[2,3,5,6,8,9,11,14,15,17,18,21,23],two_h:[0,2,3,11,20],two_h_colourbar:11,two_v:[11,20],two_v_colourbar:11,type:[4,6,8,10,11,12,13,14,15,16,17,18,24],typic:16,ucl:[],unalik:19,under:[5,6,8,12,14],undercolour:14,underli:[17,22],uniform:[5,14,18],unintimid:6,unit:[6,10,13,17,21,22,24],unitest:6,unittest:6,unless:14,unoccupi:14,unsmear:3,unweight:23,unweighted_kpoint:23,updat:[10,22],url:4,usag:[2,16],use:[0,2,4,5,6,9,10,14,16,17,18,20,21,22,24,25],use_tprc:10,used:[0,2,3,4,5,6,8,9,10,11,14,16,17,18,19,20,21,24,25],useful:[4,6,8,9,11,14,19,21],user:[5,6,9,18,22,24],uses:[5,6,11,18,19,23],using:[0,4,5,6,10,13,14,17,19,21],usr:[0,2,3,5,8,9,17,18,19,20,21,25],usual:[8,16,19],util:[0,4,7,10,20,21,23],valu:[3,10,13,14,16,20,21,23],valuabl:5,vari:[4,13],variabl:[10,13,14,20,21],variable_nam:21,variat:21,variou:[6,8,14],vasp:[7,10,13,14,23,24],vasprun:13,veloc:[4,10,17],verbos:[6,12,14],verbose_opt:12,veri:[0,23],version:[2,4,9,12,13,17,18,19,20],vertic:[11,20],via:[0,4,5,9,16,17,19,21],vibrat:17,viridi:[9,14,20,25],viridis_r:14,visibl:[14,20],volum:[],wai:[3,4,5,6,14,16,17,18,19],walter:6,want:[0,2,5,6,9,14,18,19,22,23],warda:6,waterfal:[2,6,14,20],wavevector:13,weight:[0,4,13,15],weighted_kpoint:23,weighted_mfp:0,weighted_r:[0,13],welcom:[6,22],well:[3,4,10,14,20,24,25],wether:5,wget:4,what:[15,18,21,23],when:[0,4,6,10,21,23,24],where:[4,5,6,11,14,17,18,20,21,25],wherea:14,whether:[6,12],which:[0,2,3,4,5,6,8,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25],whilst:11,white:[5,9,14],who:6,whole:[3,13,14,17],wide:[6,18],wideband:[4,9,18],widen:4,widest:9,width:[10,11,14],wiedemann:13,willi:6,wink:[],winter_r:[14,20],within:[5,14,17],without:[5,13,15,20,22,23],work:[4,9,11,12,13,14,20,21],worker:14,workflow:4,worri:22,worth:[13,20],would:[6,13,14,15,20,22,23],wrap:5,wrapper:[6,10,13,14],write:[13,14,15,22],written:[16,18],wrt:[10,13],x_tick:14,xdata:13,xinterp:14,xmarker:[2,14],xmarkkwarg:14,xmax:14,xmin:14,xml:13,xquantiti:14,xscale:14,xxx:[],xxx_name:22,xy_limit_opt:[],y_tick:14,yaml:[4,6,8,9,10,13,14,17,18,19,20,24],yamldata:13,year:[],yet:[2,20],yinterp:14,ymarker:[2,14],ymax:14,ymin:14,you:[0,2,4,5,6,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25],your:[4,5,6,11,17,18,19,22],your_hdf5_path:6,yourself:14,yourstyl:22,yquantiti:14,yscale:14,yyi:[],zdiff:4,zero:[5,13,14,15],zero_weight:15,zhu:6,zno:[2,4,5,8,9,17,18,19],zt_fromdict:10,ztdiff:[4,5,16],ztmap:[4,5]},titles:["Average Rates","ThermoParser","Cumulative Lattice Thermal Conductivity","Density of States (DoS)","Gallery","Heatmaps","Installation","tp","Phonons","Projected Phonons","tp package","tp.axes package","tp.cli package","tp.data package","tp.plot package","tp.setup package","Tutorial-00: CLI Fundamentals","Tutorial-01: Python Foundations","Tutorial-02: Individual Customisation","Tutorial-03: Compound Axes","Tutorial-04: Layered Plots","Tutorial-05: Helper Functions","Tutorial-06: Package Customisation","Tutorial-0X: Miscellaneous Assists","Tutorials","Waterfall"],titleterms:{"function":21,Axes:[17,18,19,20,21],DoS:3,assist:23,averag:0,axes:11,calcul:10,cli:[6,12,16],colour:14,colourmap:18,command:6,compound:19,conducit:23,conduct:2,content:[10,11,12,13,14,15],contribut:6,contributor:6,cumul:2,customis:[18,22],data:13,densiti:3,extend:22,format:20,foundat:17,frequenc:14,fundament:16,galleri:4,heatmap:[5,14],help:17,helper:21,indic:1,individu:18,instal:6,interfac:6,label:21,larg:11,lattic:[2,23],layer:20,legend:[11,19,21],licens:6,line:[6,17,18,19,20,21],load:[13,17,18,20],locat:21,mac:6,merg:23,mfp:14,miscellan:23,modul:[10,11,12,13,14,15],more:17,note:4,option:12,packag:[10,11,12,13,14,15,22],phonon:[8,9,14],plot:[14,17,18,19,20],point:23,project:9,python:[6,17],rate:0,refer:4,requir:6,resolv:21,run:13,save:[13,17],set:10,setup:15,small:11,state:3,submodul:[10,11,12,13,14,15],subpackag:10,tabl:1,target:23,test:6,thermal:[2,23],thermopars:[1,22],thermoplott:[],tick:21,tprc:22,tutori:[16,17,18,19,20,21,22,23,24],usag:[],util:[13,14],variabl:18,vasp:15,waterfal:25,weight:23,yaml:22,zero:23}})
\ No newline at end of file
diff --git a/docs/tp.cli.html b/docs/tp.cli.html
index 83259da..b5cc40c 100644
--- a/docs/tp.cli.html
+++ b/docs/tp.cli.html
@@ -108,6 +108,23 @@ Submodules
tp.cli.options module¶
Provides groups of options to streamline the CLI
+
+-
+
tp.cli.options.
adminsitrative_options
(f)[source]¶
+Help and version options.
+Allows -h for help (click-nonstandard).
+
+
+- --help, -h
+show help and exit
+
+- --version
+show version and exit
+
+
+
+
+
-
tp.cli.options.
axes_limit_function
(multiple=False, c=False)[source]¶
diff --git a/docs/tutorial-00.html b/docs/tutorial-00.html
index 58ef80a..84eb876 100644
--- a/docs/tutorial-00.html
+++ b/docs/tutorial-00.html
@@ -94,7 +94,7 @@ Tutorial-00: CLI Fundamentalstp get zt.
If further arguments have been given, this can be accessed with
---help
, but note -h
is not a substitute for --help
.
+--help
or -h
.
Typically, you will need one or more data files, which are inputted
directly after the command, e.g. tp plot avg-rates mesh.h5
. The
type of file is hinted at at the top of the --help
, e.g.
diff --git a/examples/00-cli-fundamentals/README.rst b/examples/00-cli-fundamentals/README.rst
index f6424df..fe0ed46 100644
--- a/examples/00-cli-fundamentals/README.rst
+++ b/examples/00-cli-fundamentals/README.rst
@@ -10,7 +10,7 @@ type the full thing in, e.g. ``tp get``, to get a similar list of the
available functions. Then type in all three parts to get a detailed
description of how to use the function, e.g. ``tp get zt``.
If further arguments have been given, this can be accessed with
-``--help``, but note ``-h`` is *not* a substitute for ``--help``.
+``--help`` or ``-h``.
Typically, you will need one or more data files, which are inputted
directly after the command, e.g. ``tp plot avg-rates mesh.h5``. The
diff --git a/examples/heatmaps/plot-zt.sh b/examples/heatmaps/plot-zt.sh
index 3fd08c4..348feb0 100644
--- a/examples/heatmaps/plot-zt.sh
+++ b/examples/heatmaps/plot-zt.sh
@@ -1 +1 @@
-`tp plot ztmap ../data/zno/boltztrap.hdf5 -k ../data/zno/kappa-m404021.hdf5 -c '#800080' -d x --discrete
\ No newline at end of file
+tp plot ztmap ../data/zno/boltztrap.hdf5 -k ../data/zno/kappa-m404021.hdf5 -c '#800080' -d x --discrete
\ No newline at end of file
diff --git a/examples/phonons/plot-phonons.sh b/examples/phonons/plot-phonons.sh
index 2d84d7c..2fddee2 100644
--- a/examples/phonons/plot-phonons.sh
+++ b/examples/phonons/plot-phonons.sh
@@ -1 +1 @@
-tp plot phonons ../data/zno/band.yaml --dos ../data/zno/projected_dos.dat --poscar ../data/zno/POSCAR -doscolour '#d46ef9' --doscolour '#7b8eff' -c '#f0901f'
\ No newline at end of file
+tp plot phonons ../data/zno/band.yaml --dos ../data/zno/projected_dos.dat --poscar ../data/zno/POSCAR --doscolour '#d46ef9' --doscolour '#7b8eff' -c '#f0901f'
\ No newline at end of file
diff --git a/setup.py b/setup.py
index cfd008c..9a4e996 100644
--- a/setup.py
+++ b/setup.py
@@ -3,10 +3,10 @@
__name__ = 'ThermoParser'
__author__ = 'Kieran B. Spooner'
__copyright__ = 'Copyright Scanlon Materials Theory Group (2024)'
-__version__ = '3.1.3'
+__version__ = '3.1.4' # Remember to update the main README header too!
__maintainer__ = 'Kieran B. Spooner'
__email__ = 'k.b.spooner@bham.ac.uk'
-__date__ = 'March 21st 2024'
+__date__ = 'April 1st 2024'
import os
import setuptools
@@ -62,8 +62,7 @@ def __init__(self, *args, **kwargs):
test_suite='setup.load_test_suite',
install_requires=['click', 'h5py', 'matplotlib', 'numpy', 'pymatgen',
'pyyaml', 'scipy', 'setuptools', 'wheel'],
- extras_require={'docs': ['sphinx', 'sphinx_rtd_theme'],
- 'tests': ['unitest']},
- python_requires='>=3.6',
+ extras_require={'docs': ['sphinx', 'sphinx_rtd_theme']},
+ python_requires='>=3.8',
cmdclass={'install': PostInstallMoveFile},
entry_points={'console_scripts': ['tp = tp.cli.cli:tp_cli']})
diff --git a/tp/__init__.py b/tp/__init__.py
index ea1758b..7a12336 100644
--- a/tp/__init__.py
+++ b/tp/__init__.py
@@ -9,6 +9,8 @@
# default values and metadata
#"""
+__version__ = '3.1.4'
+
def docstring_replace(**kwargs):
def d(f):
f.__doc__ = f.__doc__.format(**kwargs)
diff --git a/tp/cli/README.rst b/tp/cli/README.rst
index 7e7ae79..306f436 100644
--- a/tp/cli/README.rst
+++ b/tp/cli/README.rst
@@ -8,8 +8,8 @@ practical differences for the user:
1. The modular structure: the overarching command is ``tp``, running
this lists the sub commands, likewise with each of those (e.g. ``tp
plot``). The full command currently has three parts, e.g. ``tp plot
- waterfall``, after which you add the arguments. ``--help`` grants
- information at every step.
+ waterfall``, after which you add the arguments. ``--help`` or ``-h``
+ grants information at every step.
2. Multiple arguments must use the ``--thing`` every time, i.e. in
``argparse`` you may type ``-d a b c``, but in ``click`` you must
type ``-d a -d b -d c``. The exception is in ``ztdiff``, where kappa
diff --git a/tp/cli/cli.py b/tp/cli/cli.py
index 08925d2..962a07a 100644
--- a/tp/cli/cli.py
+++ b/tp/cli/cli.py
@@ -64,18 +64,21 @@
from tp.cli.options import *
@click.group()
+@adminsitrative_options
def tp_cli():
"""Command line tools for transport properties."""
return
@tp_cli.group()
+@adminsitrative_options
def gen():
"""Tools for generating calculation inputs."""
return
@gen.command(no_args_is_help=True)
+@adminsitrative_options
@kpoints_options
def kpar(kpoints, mesh, poscar):
"""Suggests KPAR values for VASP.
@@ -99,6 +102,7 @@ def kpar(kpoints, mesh, poscar):
@gen.command(no_args_is_help=True)
+@adminsitrative_options
@kpoints_options
@click.option('-z', '--zero-kpoints', '--zero-ibzkpt',
help='IBZKPT file path. Overrides --zero-mesh.',
@@ -137,12 +141,14 @@ def kpoints(kpoints, mesh, poscar, zero_kpoints, zero_mesh, output):
@tp_cli.group()
+@adminsitrative_options
def get():
"""Tools for accessing data."""
return
@get.command('amset', no_args_is_help=True)
+@adminsitrative_options
@inputs_function('amset_file', nargs=1)
@click.option('-q', '--quantity',
help='Quantity to read.',
@@ -270,6 +276,7 @@ def get_amset(amset_file, quantity, dtype, doping, direction, temperature, spin,
return
@get.command('occupation')
+@adminsitrative_options
@inputs_function('amset_mesh_file', nargs=1)
@doping_type_option
@doping_function()
@@ -340,6 +347,7 @@ def get_occupation(amset_mesh_file, dtype, doping, temperature, spin, poscar):
@get.command('boltztrap')
+@adminsitrative_options
@inputs_function('boltztrap_hdf5', nargs=1)
@click.option('-q', '--quantity',
help='Quantity to read.',
@@ -399,6 +407,7 @@ def get_boltztrap(boltztrap_hdf5, quantity, dtype, doping, direction, temperatur
@get.command('phono3py', no_args_is_help=True)
+@adminsitrative_options
@inputs_function('kappa_hdf5', nargs=1)
@click.option('-q', '--quantity',
help='Quantity to read.',
@@ -492,6 +501,7 @@ def get_phono3py(kappa_hdf5, quantity, direction, temperature, band, qpoint,
@get.command('zt', no_args_is_help=True)
+@adminsitrative_options
@inputs_function('transport_file', nargs=1)
@click.option('-k', '--kappa',
help='Phono3py kappa-mxxx.hdf5.',
@@ -559,12 +569,14 @@ def get_zt(transport_file, kappa, dtype, doping, direction, temperature, max):
@tp_cli.group()
+@adminsitrative_options
def run():
"""Tools for transport properties postprocessing."""
return
@run.command(no_args_is_help=True)
+@adminsitrative_options
@click.option('--tmin',
help='Set minimum temperature in K. Does not speed up '
@@ -651,12 +663,14 @@ def boltztrap(tmin, tmax, tstep, dmin, dmax, ndope, relaxation_time, lpfac,
@tp_cli.group()
+@adminsitrative_options
def save():
"""Tools for saving data."""
return
@save.command('cumkappa', no_args_is_help=True)
+@adminsitrative_options
@inputs_function('kappa_hdf5', nargs=1)
@click.option('--mfp/--frequency',
help='x-axis quantity. [default: frequency]',
@@ -690,6 +704,7 @@ def save_cumkappa(kappa_hdf5, mfp, direction, temperature, output, extension):
@save.command('kappa', no_args_is_help=True)
+@adminsitrative_options
@inputs_function('kappa_hdf5', nargs=1)
@direction_function(multiple=True)
@click.option('-o', '--output',
@@ -720,6 +735,7 @@ def save_kappa(kappa_hdf5, direction, output):
@save.command('zt', no_args_is_help=True)
+@adminsitrative_options
@inputs_function('transport_file', nargs=1)
@click.option('-k', '--kappa',
help='Phono3py kappa-mxxx.hdf5.',
@@ -749,12 +765,14 @@ def save_zt(transport_file, kappa, dtype, direction, interpolate, kind, output):
@tp_cli.group()
+@adminsitrative_options
def plot():
"""Tools for plotting."""
return
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('mesh_h5')
@click.option('--mfp/--rate',
help='Plot mfp instead of rate. [default: rate]',
@@ -978,6 +996,7 @@ def avg_rates(mesh_h5, mfp, total, x, crt, exclude, doping, direction,
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('kappa_hdf5')
@click.option('--mfp/--frequency',
help='x-axis quantity. [default: frequency]',
@@ -1098,6 +1117,7 @@ def cumkappa(kappa_hdf5, mfp, percent, xmarkers, ymarkers, direction,
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('dos_dat', nargs=1)
@dos_function()
@fill_options
@@ -1160,6 +1180,7 @@ def dos(dos_dat, poscar, atoms, sigma, projected, total, total_label,
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@click.option('-k', '--kfile',
help='Thermal data filename(s). Required for a '
'--component of lattice or total.',
@@ -1413,6 +1434,7 @@ def kappa(kfile, efile, component, direction, tmin, tmax, dtype, doping,
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('transport_file', nargs=1)
@click.option('-z', '--zt',
help='Target ZT.',
@@ -1489,6 +1511,7 @@ def kappa_target(transport_file, zt, direction, interpolate, kind, colour,
@plot.command('phonons', no_args_is_help=True)
+@adminsitrative_options
@inputs_function('band_yaml')
@click.option('--bandmin',
help='Minimum band index.',
@@ -1600,6 +1623,7 @@ def converge_phonons(band_yaml, bandmin, bandmax, colour, alpha, linestyle,
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('transport_file')
@click.option('-k', '--kfile',
help='Thermal data filename(s). Required for a --quantity '
@@ -1994,6 +2018,7 @@ def transport(transport_file, kfile, quantity, direction, tmin, tmax, dtype,
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('kappa_hdf5', nargs=1)
@click.option('-y',
help='y-axis quantity. Options include frequency, kappa, '
@@ -2149,6 +2174,7 @@ def waterfall(kappa_hdf5, y, x, projected, direction, temperature, colour, alpha
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('band_yaml', nargs=1)
@inputs_function('kappa_hdf5', nargs=1)
@@ -2204,6 +2230,7 @@ def wideband(band_yaml, kappa_hdf5, temperature, poscar, colour, smoothing, styl
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('transport_file', nargs=1)
@click.option('--pf/--zt',
help='Power factor instead of ZT. [default: zt]',
@@ -2280,6 +2307,7 @@ def ztmap(transport_file, pf, kappa, direction, dtype, interpolate, kind,
@plot.command(no_args_is_help=True)
+@adminsitrative_options
@inputs_function('transport_files', nargs=2)
@click.option('--pf/--zt',
help='Power factor instead of ZT. [default: zt]',
diff --git a/tp/cli/options.py b/tp/cli/options.py
index 179c615..4b83bb2 100644
--- a/tp/cli/options.py
+++ b/tp/cli/options.py
@@ -3,6 +3,10 @@
#Functions
#---------
#
+# administrative_options
+# function for help and version display.
+# axes_limit_function
+# function for setting the axis limits.
# direction_function:
# function for picking the --direction (-d).
# doping_type_option:
@@ -29,12 +33,100 @@
# function for picking the --temperature (-t).
# verbose_option:
# function for increasing the verbosity.
-# axes_limit_function
-# function for setting the axis limits.
#"""
import click
+def adminsitrative_options(f):
+ """Help and version options.
+
+ Allows -h for help (click-nonstandard).
+
+ Options
+ -------
+
+ --help, -h
+ show help and exit
+ --version
+ show version and exit
+ """
+
+ f = click.help_option('-h', '--help')(f)
+ f = click.version_option(package_name='tp')(f)
+
+ return f
+
+def axes_limit_function(multiple=False, c=False):
+ """Function for creating axes limit options.
+
+ Arguments
+ ---------
+
+ multiple : bool, optional
+ allow multiple limits. Default: False.
+ c : bool, optional
+ include colour limits. Default: False.
+
+ Returns
+ -------
+ decorator
+ axes limit options decorator.
+ """
+
+ def axes_limit_options(f):
+ """Options for axes limits.
+
+ Options
+ -------
+
+ --xmin : float, optional
+ override minimum x.
+ --xmax : float, optional
+ override maximum x.
+ --ymin : float, optional
+ override minimum y.
+ --ymax : float, optional
+ override maximum y.
+ --cmin : float, optional
+ override minimum colour.
+ --cmax : float, optional
+ override maximum colour.
+
+ Returns
+ -------
+
+ decorator
+ axes limits options decorator.
+ """
+
+ f = click.option('--xmin',
+ help='Override minimum x.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--xmax',
+ help='Override maximum x.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--ymin',
+ help='Override minimum y.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--ymax',
+ help='Override maximum y.',
+ multiple=multiple,
+ type=float)(f)
+ if c:
+ f = click.option('--cmin',
+ help='Override minimum colour value.',
+ multiple=multiple,
+ type=float)(f)
+ f = click.option('--cmax',
+ help='Override maximum colour value.',
+ multiple=multiple,
+ type=float)(f)
+ return f
+ return axes_limit_options
+
def direction_function(multiple=False):
"""Function to create direction options.
@@ -147,31 +239,6 @@ def doping_option(f):
return f
return doping_option
-def heatmap_options(f):
- """Options for heatmaps."""
-
- f = click.option('--discrete/--continuous',
- help='Discretise colourmap. [default: continuous]',
- default=False,
- show_default=False)(f)
- f = click.option('-l', '--levels',
- help='Levels for discrete plots. Lists directly '
- 'specify the contour levels, while integers '
- 'specify the maximum-1 number of "nice" '
- 'levels to plot.',
- multiple=True,
- default=[None])(f)
- f = click.option('--contours',
- help='Contours to plot.',
- multiple=True,
- type=float,
- default=[None])(f)
- f = click.option('--contourcolours',
- help='contour colours',
- multiple=True,
- default=['black'])(f)
- return f
-
def dos_function(dosargs=['-c', '--colour']):
"""Function for creating DoS options.
@@ -266,6 +333,31 @@ def dos_options(f):
return f
return dos_options
+def heatmap_options(f):
+ """Options for heatmaps."""
+
+ f = click.option('--discrete/--continuous',
+ help='Discretise colourmap. [default: continuous]',
+ default=False,
+ show_default=False)(f)
+ f = click.option('-l', '--levels',
+ help='Levels for discrete plots. Lists directly '
+ 'specify the contour levels, while integers '
+ 'specify the maximum-1 number of "nice" '
+ 'levels to plot.',
+ multiple=True,
+ default=[None])(f)
+ f = click.option('--contours',
+ help='Contours to plot.',
+ multiple=True,
+ type=float,
+ default=[None])(f)
+ f = click.option('--contourcolours',
+ help='contour colours',
+ multiple=True,
+ default=['black'])(f)
+ return f
+
def inputs_function(name='filenames', nargs=-1):
"""Function for creating input arguments.
@@ -625,74 +717,3 @@ def verbose_option(f):
show_default=False)(f)
return f
-
-def axes_limit_function(multiple=False, c=False):
- """Function for creating axes limit options.
-
- Arguments
- ---------
-
- multiple : bool, optional
- allow multiple limits. Default: False.
- c : bool, optional
- include colour limits. Default: False.
-
- Returns
- -------
- decorator
- axes limit options decorator.
- """
-
- def axes_limit_options(f):
- """Options for axes limits.
-
- Options
- -------
-
- --xmin : float, optional
- override minimum x.
- --xmax : float, optional
- override maximum x.
- --ymin : float, optional
- override minimum y.
- --ymax : float, optional
- override maximum y.
- --cmin : float, optional
- override minimum colour.
- --cmax : float, optional
- override maximum colour.
-
- Returns
- -------
-
- decorator
- axes limits options decorator.
- """
-
- f = click.option('--xmin',
- help='Override minimum x.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--xmax',
- help='Override maximum x.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--ymin',
- help='Override minimum y.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--ymax',
- help='Override maximum y.',
- multiple=multiple,
- type=float)(f)
- if c:
- f = click.option('--cmin',
- help='Override minimum colour value.',
- multiple=multiple,
- type=float)(f)
- f = click.option('--cmax',
- help='Override maximum colour value.',
- multiple=multiple,
- type=float)(f)
- return f
- return axes_limit_options
diff --git a/tp/plot/frequency.py b/tp/plot/frequency.py
index a5202a5..ceb5a04 100644
--- a/tp/plot/frequency.py
+++ b/tp/plot/frequency.py
@@ -893,7 +893,7 @@ def add_projected_waterfall(ax, data, quantity, projected,
cbar.set_alpha(1)
cbar.set_label(axlabels[projected])
tp.plot.utilities.set_locators(cbar.ax, y=cbar.ax.yaxis.get_scale())
- cbar.draw_all()
+ cbar._draw_all()
if main:
data[xquantity] = x
diff --git a/tp/plot/heatmap.py b/tp/plot/heatmap.py
index 96b162d..c541d1c 100644
--- a/tp/plot/heatmap.py
+++ b/tp/plot/heatmap.py
@@ -246,17 +246,16 @@ def add_heatmap(ax, x, y, c, xinterp=None, yinterp=None, kind='linear',
# plotting
if discrete:
kwargs.pop('rasterized')
- if levels is None or levels == ():
- heat = ax.contourf(x[:-1], y[:-1], c, cmap=colours, norm=cnorm,
- **kwargs)
+ if levels in [None, (), [None], (None,)]:
+ levels = 10
else:
if isinstance(levels, (list, np.ndarray, tuple)) and len(levels) == 1:
levels = int(levels[0])
elif isinstance(levels, float):
- raise TypeError('levels must be an int or array-like, not float')
- if levels is not None and levels != ():
- heat = ax.contourf(x[:-1], y[:-1], c, cmap=colours, norm=cnorm,
- levels=levels, **kwargs)
+ raise TypeError(
+ 'levels must be an int or array-like, not float')
+ heat = ax.contourf(x[:-1], y[:-1], c, cmap=colours, norm=cnorm,
+ levels=levels, **kwargs)
else:
heat = ax.pcolormesh(x, y, c, cmap=colours, norm=cnorm, **kwargs)
fig = ax.get_figure()
@@ -267,7 +266,7 @@ def add_heatmap(ax, x, y, c, xinterp=None, yinterp=None, kind='linear',
cbar = plt.colorbar(heat, ax=ax, extend=extend)
# contours
- if contours is not None and contours != ():
+ if contours not in [None, [None], (), (None,)]:
if contourkwargs == None:
contourkwargs = {}
if not isinstance(contours, (list, np.ndarray)):
diff --git a/tp/plot/phonons.py b/tp/plot/phonons.py
index 2c7f693..2a4e639 100644
--- a/tp/plot/phonons.py
+++ b/tp/plot/phonons.py
@@ -803,7 +803,7 @@ def add_projected_dispersion(ax, data, pdata, quantity, bandmin=None,
cbar.set_alpha(1)
cbar.set_label(axlabels[quantity])
tp.plot.utilities.set_locators(cbar.ax, y=cbar.ax.yaxis.get_scale())
- cbar.draw_all()
+ cbar._draw_all()
if main:
if round(np.amin(f), 1) == 0:
@@ -1045,7 +1045,7 @@ def add_alt_projected_dispersion(ax, data, pdata, quantity, projected,
cbar.set_alpha(1)
cbar.set_label(axlabels[projected])
tp.plot.utilities.set_locators(cbar.ax, y=cbar.ax.yaxis.get_scale())
- cbar.draw_all()
+ cbar._draw_all()
if main:
ax.set_ylim(ymin, ymax)