sknano.structures.compute_tube_mass

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

Compute nanotube mass in grams.

Parameters:

*Ch : {tuple or ints}

Either a 2-tuple of ints or 2 integers giving the chiral indices of the nanotube chiral vector \(\mathbf{C}_h = n\mathbf{a}_1 + m\mathbf{a}_2 = (n, m)\).

nz : {int, float}

Number of nanotube unit cells

element1, element2 : {str, int}, optional

Element symbol or atomic number of basis Atom 1 and 2

Returns:

float

Nanotube mass in grams.

Notes

Todo

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