NanoStructureBase

class sknano.core.structures.NanoStructureBase(*args, basis=None, bond=None, **kwargs)[source] [edit on github][source]

Bases: sknano.core.structures.StructureBase, sknano.core.meta.BaseClass

Base class for creating abstract representations of nanostructure.

Parameters:basis ({str, int, list}, optional) – Element chemical symbols or atomic numbers of basis Atom 1 and 2

Attributes

atoms Structure Atoms.
basis NanoStructureBase basis objects.
crystal_cell Structure CrystalCell.
element1 Basis element 1
element2 Basis element 2
fmtstr Format string.
lattice Structure Crystal3DLattice.
lattice_shift Lattice displacement vector.
scaling_matrix CrystalCell.scaling_matrix.
structure An alias to self.
unit_cell Structure UnitCell.
vdw_distance Van der Waals distance.
vdw_radius Van der Waals radius

Methods

clear() Clear list of StructureMixin.atoms.
make_supercell(scaling_matrix[, wrap_coords]) Make supercell.
rotate(**kwargs) Rotate crystal cell lattice, basis, and unit cell.
todict() Return dict of constructor parameters.
transform_lattice(scaling_matrix[, ...]) Transform structure lattice.
translate(t[, fix_anchor_points]) Translate crystal cell lattice, basis, and unit cell.

Attributes Summary

basis NanoStructureBase basis objects.
element1 Basis element 1
element2 Basis element 2
vdw_distance Van der Waals distance.
vdw_radius Van der Waals radius

Methods Summary

todict() Return dict of constructor parameters.

Attributes Documentation

basis

NanoStructureBase basis objects.

element1

Basis element 1

element2

Basis element 2

vdw_distance

Van der Waals distance.

vdw_radius

Van der Waals radius

Methods Documentation

todict()[source] [edit on github][source]

Return dict of constructor parameters.