pwtools.crys.Trajectory.get_ntypat

Trajectory.get_ntypat()

Number of atomic species.

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