In [7]:
%matplotlib inline
In [8]:
import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
import matplotlib.colors as colors
import matplotlib.cm as cm
import polyhedra as poly
import bga_4_0 as bga
bga = reload(bga)
In [ ]:
from matplotlib import rc
rc('font', **{'family':'serif','serif':['Palatino']})
rc('text', usetex=True)
fig_width = 10
fig_height = 10
fig_dpi = 200
In [ ]:
poly_name = "octahedron"
In [ ]:
verts, face_inds, cents = getattr(poly, poly_name)()
V, E, F, S, species, f_types, adj_list, dual = bga.get_poly(poly_name)
ints, ids, paths, shell_int, shell_paths, edges, shell_edge, degens = bga.get_bg_ss(poly_name, get_degens=True)
In [ ]: