MWNT¶
-
class
sknano.core.structures.MWNT(*args, nx=1, ny=1, bundle_packing=None, bundle_geometry=None, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.structures.NanotubeBundleBase,sknano.core.structures.MWNTBaseMWNT structure class.
Parameters: - Ch_list (
list, optional) – (n,m) for eachSWNTwall inMWNT. - Nwalls (int, optional) – Number of
SWNTwalls inMWNT. - Lz (float, optional) –
MWNTlength in Angstroms.Changed in version 0.4.0: Changed units from nanometers to Angstroms
- min_wall_diameter (float, optional) – Minimum
MWNTwall diameter, in units of Angstroms. - max_wall_diameter (float, optional) – Maximum
MWNTwall diameter, in units of Angstroms. - max_walls (int, optional) – Maximum number of
MWNTwalls. - chiral_types ({None, 'armchair', 'zigzag', 'achiral', 'chiral'}, optional) – If
None, thechiral_typeof eachMWNTwalls will be random and determined by the set of randomly selected chiral indices (n,m). - wall_spacing (float, optional) – Inter-wall spacing in units of Angstroms. Default value is the van der Waals interaction distance of 3.35 Angstroms.
- basis ({
list}, optional) –List of
strs of element symbols or atomic number of the two atom basis (default: [‘C’, ‘C’])New in version 0.3.10.
- element2 (element1,) –
Element symbol or atomic number of basis
Atom1 and 2Deprecated since version 0.3.10: Use
basisinstead - bond (float, optional) – \(\mathrm{a}_{\mathrm{CC}} =\) distance between nearest neighbor atoms, in units of Angstroms.
- ny (nx,) – Number of repeat unit cells in the \(x, y\) dimensions.
- vdw_radius (float, optional) – van der Waals radius of nanotube atoms
- bundle_packing ({'hcp', 'ccp'}, optional) – Packing arrangement of MWNT bundles. If
bundle_packingisNone, then it will be determined by thebundle_geometryparameter ifbundle_geometryis notNone. If bothbundle_packingandbundle_geometryareNone, thenbundle_packingdefaults tohcp. - bundle_geometry ({'triangle', 'hexagon', 'square', 'rectangle'}, optional) –
- verbose (bool, optional) – if
True, show verbose output
Examples
>>> from sknano.generators import MWNT
Attributes
Ch_listList of chiralities. LxAxis-aligned length along the x-axis in Angstroms.LyAxis-aligned length along the y-axis in Angstroms.LzMWNT length in Angstroms. Lz_listMWNT length \(L_z = L_{\mathrm{tube}}\) in Angstroms. NatomsNumber of atoms in nanotube bundle. Natoms_listlistofNatomsper nanotube in bundle.Natoms_per_bundleAlias for Natoms.Natoms_per_tubeAlias for Natoms_list.Natoms_per_wallAlias for MWNT.Natoms_listNtubesNumber of nanotubes in bundle. NwallsNumber of MWNTwalls.T_listLength of MWNTunit cell \(|\mathbf{T}|\) in Å.atomsStructure Atoms.basisNanoStructureBasebasis objects.bundle_densityCompute the nanotube bundle density. bundle_geometryBundle geometry. bundle_massAn alias for mass.bundle_packingBundle packing. chiral_setSet of all chiral types in MWNT.chiral_typesList of chiral types for each MWNTwall.crystal_cellStructure CrystalCell.dtMWNTwall diameters \(d_t=\frac{|\mathbf{C}_h|}{\pi}\) in Å.dt_listList of MWNTSWNTwall diametersdt\(d_t=\frac{|\mathbf{C}_h|}{\pi}\) in Å.element1Basis element 1 element2Basis element 2 fmtstrFormat string. latticeStructure Crystal3DLattice.lattice_shiftLattice displacement vector. massBundle mass. max_wall_diameterMaximum wall diameter. max_wallsMaximum number of walls. min_wall_diameterMinimum wall diameter. nxNumber of nanotubes along the \(x\)-axis. nyNumber of nanotubes along the \(y\)-axis. nzNumber of nanotube unit cells along the \(z\)-axis. nz_listNumber of nanotube unit cells along the \(z\)-axis. rtMWNTwall radii \(r_t=\frac{|\mathbf{C}_h|}{2\pi}\) in Å.rt_listList of MWNTSWNTwall radiirt\(r_t=\frac{|\mathbf{C}_h|}{2\pi}\) in Å.scaling_matrixCrystalCell.scaling_matrix.structureAn alias to self.tube_massAn alias for mass.unit_cellStructure UnitCell.vdw_distanceVan der Waals distance. vdw_radiusVan der Waals radius wall_diametersAlias for MWNTMixin.dt_list.wall_massesList of MWNTSWNTwall diametersdt\(d_t=\frac{|\mathbf{C}_h|}{\pi}\) in Å.wall_radiiAlias for MWNTMixin.rt_list.wall_spacingWall-to-wall spacing. wallsList of MWNTSWNTwall structures.Methods
clear()Clear list of StructureMixin.atoms.generate_Ch_list([Nwalls, max_walls, ...])Generate list of chiralities. generate_bundle_coords()Generate coordinates of bundle tubes. generate_dt_mask(dt[, max_dt_diff])Generate boolean mask array. generate_unit_cell()Generate Nanotube unit cell. get_wall(Ch)Return the SWNTstructure with chiralityCh.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. update_Ch_list([Nwalls, min_wall_diameter, ...])Update MWNTMixin.Ch_list.- Ch_list (