compute_Lz

sknano.core.structures.compute_Lz(*Ch, nz=1, bond=None, **kwargs)[source] [edit on github][source]

Compute the axis-aligned length along the z-axis in Angstroms.

Lz=Ltube in Angstroms.

Changed in version 0.4.0: Changed units from nanometers to Angstroms

Lz=nz|T|
Parameters:
  • *Ch

    Either a 2-tuple of ints or 2 integers giving the chiral indices of the nanotube chiral vector Ch=na1+ma2=(n,m).

  • nz ({int, float}) – Number of nanotube unit cells
  • bond (float, optional) – Distance between nearest neighbor atoms (i.e., bond length). Must be in units of . Default value is the carbon-carbon bond length in graphite, approximately aCC=1.42
Returns:

Lz=Ltube in Angstroms

Return type:

float