compute_tube_mass

sknano.core.structures.compute_tube_mass(*Ch, nz=1, element1=None, element2=None)[source] [edit on github][source]

Compute nanotube mass in grams.

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
  • element2 (element1,) – Element symbol or atomic number of basis Atom 1 and 2
Returns:

Nanotube mass in grams.

Return type:

float

Notes

Todo

Handle different elements and perform accurate calculation by determining number of atoms of each element.