Harmonics symbol#

Polar and axial symbols of harmonics for all point groups.

Each harmonics of a point group comes from a top (Oh/D6h) harmonics T (data_harmonics_mapping).

polar : Q(key_p) = cp T, axial : G(key_a) = ca T,

so that the polar harmonics Q(key_p) and the axial harmonics (cp ca) G(key_a) have the same expression cp T. The axial symbol differs from the polar one only by irrep, component, and sign.

  • harmonics key = (rank, irrep, multiplicity [1-based], component [0-based]), -1: unique.

is_real_irrep(irrep)[source]#

Is real irrep of top group (Oh/D6h) ? (complex combinations have irrep names ending with “a” or “b”).

Parameters:

irrep (str) – irrep name of top group.

Returns:

  • (bool) – real irrep ?

irrep_latex(irrep)[source]#
Irrep in LaTeX (same format as MultiPie Ver.2).

e.g., “T1u” -> “T_{1u}”, “A2’’” -> “A_{2}^{primeprime}”, “E1ua” -> “E_{1u}^{(a)}”, “Ea’” -> “E^{prime(a)}”.

Parameters:

irrep (str) – irrep name.

Returns:

  • (str) – irrep in LaTeX.

multipole_symbol(X, key, sign=1)[source]#

Multipole symbol in LaTeX (same format as MultiPie Ver.2), e.g., “mathbb{Q}_{1,1}(T_{1u})”.

Parameters:
  • X (str) – “Q” (polar) or “G” (axial).

  • key (tuple) – harmonics key (rank, irrep, multiplicity, component).

  • sign (int, optional) – sign of symbol (+1/-1).

Returns:

  • (str) – multipole symbol in LaTeX.

polar_to_axial(group, key)[source]#

Axial key and sign of the axial harmonics having the same expression as a polar harmonics.

Parameters:
  • group (str) – point group tag.

  • key (tuple) – polar harmonics key (rank, irrep, multiplicity, component).

Returns:

  • (tuple) – axial harmonics key (rank, irrep, multiplicity, component).

  • (int) – sign (+1/-1), polar Q(key) and sign*G(axial key) have the same expression.

harmonics_symbol_table(group)[source]#

Table of harmonics with polar and axial symbols.

Parameters:

group (str) – point group tag.

Returns:

  • (list) – [(key, polar symbol, axial symbol, expression in LaTeX)], sorted by (rank, irrep in character table, multiplicity, component) as in MultiPie Ver.2.