pwtools.crys.Structure.get_ntypat

Structure.get_ntypat()[source]

Number of atomic species.

2 for symbols=['Al','Al','N',N'].