NanotubeBundleBase¶
-
class
sknano.core.structures.NanotubeBundleBase(*args, nx=1, ny=1, bundle_packing=None, bundle_geometry=None, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.structures.NanotubeBundleMixin,sknano.core.structures.NanoStructureBaseNanotube bundle structure base class.
Parameters: - ny (nx,) –
- bundle_packing ({None, 'hcp', 'ccp'}, optional) –
- bundle_geometry ({None, 'hexagon', 'rectangle'}, optional) –
Attributes
LxAxis-aligned length along the x-axis in Angstroms.LyAxis-aligned length along the y-axis in Angstroms.NatomsNumber of atoms in nanotube bundle. Natoms_listlistofNatomsper nanotube in bundle.Natoms_per_bundleAlias for Natoms.Natoms_per_tubeAlias for Natoms_list.NtubesNumber of nanotubes in bundle. atomsStructure Atoms.basisNanoStructureBasebasis objects.bundle_densityCompute the nanotube bundle density. bundle_geometryBundle geometry. bundle_massAn alias for mass.bundle_packingBundle packing. crystal_cellStructure CrystalCell.element1Basis element 1 element2Basis element 2 fmtstrFormat string. latticeStructure Crystal3DLattice.lattice_shiftLattice displacement vector. massBundle mass. nxNumber of nanotubes along the \(x\)-axis. nyNumber of nanotubes along the \(y\)-axis. scaling_matrixCrystalCell.scaling_matrix.structureAn alias to self.unit_cellStructure UnitCell.vdw_distanceVan der Waals distance. vdw_radiusVan der Waals radius Methods
clear()Clear list of StructureMixin.atoms.generate_bundle_coords()Generate coordinates of bundle tubes. init_bundle_parameters()Initialize bundle attributes. make_supercell(scaling_matrix[, wrap_coords])Make supercell. rotate(**kwargs)Rotate crystal cell lattice, basis, and unit cell. todict()Return dictof constructor parameters.transform_lattice(scaling_matrix[, ...])Transform structure lattice. translate(t[, fix_anchor_points])Translate crystal cell lattice, basis, and unit cell. Methods Summary
todict()Return dictof constructor parameters.Methods Documentation
-
todict()[source] [edit on github][source]¶ Return
dictof constructor parameters.