EPWpy.plotting.plot_structure_matplotlib#

Functions

add(a, b)

auto_equal_limits(ax, pts)

cart_to_frac(cart, lattice)

color_wheel(i)

detect_bonds(fracs, tags, lattice[, ...])

fracs: list of fractional coords (not necessarily wrapped) or wrapped -- we'll accept wrapped or not tags: element labels for each atom lattice: 3x3 row-vector lattice Returns list of (i,j,dx,dy,dz,dist)

dot(a, b)

draw_edge(ax, p0, p1, **kwargs)

draw_unit_cell(ax, lattice[, lw])

frac_to_cart(frac, lattice)

integer_image_shift(frac_i, frac_j)

is_all_int_tokens(tokens)

mat_det_3(m)

mat_scale(m, s)

mat_vec(m, v)

nearest_image_delta(frac_i, frac_j)

norm(v)

parse_poscar(path)

plot_poscar(path[, point_size, wrap, ...])

read_nonempty_lines(path)

scale_vec(v, s)

strtovecs(lines3)

sub(a, b)

unit_cell_vertices(lattice)

vec_add(a, b)

vec_max(a, b)

vec_min(a, b)

vec_sub(a, b)

wrap_frac(fr)

EPWpy.plotting.plot_structure_matplotlib.add(a, b)[source]#
EPWpy.plotting.plot_structure_matplotlib.auto_equal_limits(ax, pts)[source]#
EPWpy.plotting.plot_structure_matplotlib.cart_to_frac(cart, lattice)[source]#
EPWpy.plotting.plot_structure_matplotlib.color_wheel(i)[source]#
EPWpy.plotting.plot_structure_matplotlib.detect_bonds(fracs, tags, lattice, bond_length=None, scale=1.2, min_dist=0.1)[source]#

fracs: list of fractional coords (not necessarily wrapped) or wrapped -- we'll accept wrapped or not tags: element labels for each atom lattice: 3x3 row-vector lattice Returns list of (i,j,dx,dy,dz,dist)

EPWpy.plotting.plot_structure_matplotlib.dot(a, b)[source]#
EPWpy.plotting.plot_structure_matplotlib.draw_edge(ax, p0, p1, **kwargs)[source]#
EPWpy.plotting.plot_structure_matplotlib.draw_unit_cell(ax, lattice, lw=1.5)[source]#
EPWpy.plotting.plot_structure_matplotlib.frac_to_cart(frac, lattice)[source]#
EPWpy.plotting.plot_structure_matplotlib.integer_image_shift(frac_i, frac_j)[source]#
EPWpy.plotting.plot_structure_matplotlib.is_all_int_tokens(tokens)[source]#
EPWpy.plotting.plot_structure_matplotlib.mat_det_3(m)[source]#
EPWpy.plotting.plot_structure_matplotlib.mat_scale(m, s)[source]#
EPWpy.plotting.plot_structure_matplotlib.mat_vec(m, v)[source]#
EPWpy.plotting.plot_structure_matplotlib.nearest_image_delta(frac_i, frac_j)[source]#
EPWpy.plotting.plot_structure_matplotlib.norm(v)[source]#
EPWpy.plotting.plot_structure_matplotlib.parse_poscar(path)[source]#
EPWpy.plotting.plot_structure_matplotlib.plot_poscar(path, point_size=120, wrap=True, show_labels=True, bond_length=None, scale=1.2, min_dist=0.1, highlight_si=True)[source]#
EPWpy.plotting.plot_structure_matplotlib.read_nonempty_lines(path)[source]#
EPWpy.plotting.plot_structure_matplotlib.scale_vec(v, s)[source]#
EPWpy.plotting.plot_structure_matplotlib.strtovecs(lines3)[source]#
EPWpy.plotting.plot_structure_matplotlib.sub(a, b)[source]#
EPWpy.plotting.plot_structure_matplotlib.unit_cell_vertices(lattice)[source]#
EPWpy.plotting.plot_structure_matplotlib.vec_add(a, b)[source]#
EPWpy.plotting.plot_structure_matplotlib.vec_max(a, b)[source]#
EPWpy.plotting.plot_structure_matplotlib.vec_min(a, b)[source]#
EPWpy.plotting.plot_structure_matplotlib.vec_sub(a, b)[source]#
EPWpy.plotting.plot_structure_matplotlib.wrap_frac(fr)[source]#