qp.cluster.charge_count.count_electron

qp.cluster.charge_count.count_electron(xyzfile)[source]

Count the total number of electrons in an XYZ file.

Parameters:

xyzfile (str) – Path to an XYZ coordinate file.

Returns:

Total electron count based on element types.

Return type:

int