Type#

Group#

class PGInfoType(tag, international, schoenflies, crystal, setting, PG, SG, MPG, MSG, lattice, hexagonal_g, SO, SO_gen)#

Bases: tuple

Point Group info type.

Fields:
  • tag (str): Schoenflies in text.

  • international (str): international short symbol in LaTeX.

  • schoenflies (str): Schoenflies symbol in LaTeX.

  • crystal (str): triclinic, monoclinic, orthorhombic, tetragonal, trigonal, hexagonal, cubic.

  • setting (str): setting.

  • PG (str): = id.

  • SG (str): associated SG, 1st SG in the same PGs.

  • MPG (str): associated MPG, 1st MPG with type II in the same PGs.

  • MSG (str): associated MSG, PG -> MPG -> MSG.

  • lattice (str): “0”.

  • hexagonal_g (bool): trigonal or hexagonal ?

  • SO (list): symmetry operations.

  • SO_gen (list): generator of SOs.

class SGInfoType(tag, international, schoenflies, crystal, setting, PG, SG, MPG, MSG, lattice, hexagonal_g, SO, SO_gen)#

Bases: tuple

Space Group info type.

Fields:
  • tag (str): Schoenflies in text.

  • international (str): international short symbol in LaTeX.

  • schoenflies (str): Schoenflies symbol in LaTeX.

  • crystal (str): triclinic, monoclinic, orthorhombic, tetragonal, trigonal, hexagonal, cubic.

  • setting (str): setting comment.

  • PG (str): associated PG, unique.

  • SG (str): = id.

  • MPG (str): associated MPG, SG -> PG -> MPG.

  • MSG (str): associated MSG, 1st MSG with type II in the same SGs.

  • lattice (str): A, B, C, P, I, F, R.

  • hexagonal_g (bool): trigonal or hexagonal ?

  • SO (list): symmetry operations.

  • SO_gen (list): generator of SOs.

class MPGInfoType(tag, international, schoenflies, crystal, setting, PG, SG, MPG, MSG, lattice, hexagonal_g, type, SO)#

Bases: tuple

Magnetic Point Group info type.

Fields:
  • tag (str): MPG_id (PG.no.ID).

  • international (str): international short symbol in LaTeX.

  • schoenflies (str): Schoenflies symbol in LaTeX.

  • crystal (str): triclinic, monoclinic, orthorhombic, tetragonal, trigonal, hexagonal, cubic.

  • setting (str): setting.

  • PG (str): associated PG, unique.

  • SG (str): associated SG, MPG -> MSG -> SG.

  • MPG (str): = id.

  • MSG (str): associated MSG, 1st MSG in the same MPGs.

  • lattice (str): “0”.

  • hexagonal_g (bool): trigonal or hexagonal ?

  • type (str): type I, II, III.

  • SO (list): symmetry operations.

class MSGInfoType(tag, BNS, OG, schoenflies, crystal, setting, PG, SG, MPG, MSG, lattice, hexagonal_g, type, SO)#

Bases: tuple

Magnetic Space Group info type.
  • tag (str): BNS_id (SG.no).

  • BNS (str): Belov-Neronova-Smirnova (international) notation in LaTeX.

  • OG (str): Opechowski-Guccione notation in LaTeX.

  • schoenflies (str): Schoenflies symbol in LaTeX.

  • crystal (str): triclinic, monoclinic, orthorhombic, tetragonal, trigonal, hexagonal, cubic.

  • setting (str): setting.

  • PG (str): associated PG, unique.

  • SG (str): associated SG, unique.

  • MPG (str): associated MPG, unique.

  • MSG (str): = id.

  • lattice (str): A, B, C, P, I, F, R.

  • hexagonal_g (bool): trigonal or hexagonal ?

  • type (str): type I, II, III, IV.

  • SO (list): symmetry operations.

Multipole#

class PGMultipoleType(X, l, Gamma, n, p, s, k, x)#

Bases: tuple

Point-group multipole type.

Fields:
  • type (str): type, Q, G, T, M.

  • rank (int): rank, 0-11.

  • irrep, (str): irrep.

  • multiplicity (int): multiplicity.

  • add_multiplicity (int): additional multiplicity.

  • s (int): internal rank, 0, 1.

  • k (int): internal component, -1, 0, 1.

  • internal-type (str): internal type, q or g.

class SphericalMultipoleType(X, l, s, k, x)#

Bases: tuple

Spherical multipole type.

Fields:
  • type (str): type, Q, G, T, M.

  • rank (int): rank, 0-11.

  • s (int): internal rank, 0, 1.

  • k (int): internal component, -1, 0, 1.

  • internal-type (str) internal type, q or g.

MaterialModel#

class RepSiteType(no, wyckoff, symmetry, position, orbital)#

Bases: tuple

Representative site type.

Fields:
  • no (int): ID (from 1).

  • wyckoff (str): Wyckoff position.

  • symmetry (str): site symmetry.

  • position (list): site position.

  • orbital (list): orbital list.

class CellSiteType(no, position, position_primitive, mapping, sublattice, plus_set)#

Bases: tuple

Cell site type.

Fields:
  • no (int): ID (from 1).

  • position (list): site position.

  • position_primitive (list): position in primitive cell.

  • mapping (list): SO mapping.

  • sublattice (int): sublattice no.

  • plus_set (int): plus set no.

class RepBondType(no, tail, head, neighbor, wyckoff, directional, vector, center, distance, t_rank, h_rank)#

Bases: tuple

Representative bond type.

Fields:
  • no (int): ID (from 1).

  • tail (str): tail name.

  • head (str): head name.

  • neighbor (int): neighbor.

  • wyckoff (str): Wyckoff position.

  • directional (str): (non) directional bond (N)D.

  • vector (list): bond vector.

  • center (list): bond center.

  • distance (float): bond length.

  • t_rank (int): tail orbital rank.

  • h_rank (int): head orbital rank.

class CellBondType(no, vector, vector_primitive, center, center_primitive, mapping, sublattice, plus_set, t_idx, h_idx, R_primitive)#

Bases: tuple

Cell bond type.

Feilds:
  • no (int): ID (from 1).

  • vector (list): bond vector.

  • vector_primitive (list) bond vector in primitive cell.

  • center (list): bond center.

  • center_primitive (list): bond center in primitive cell.

  • mapping (list): SO mapping.

  • sublattice (int): sublattice no.

  • plus_set (int): plus set no.

  • t_idx (tuple): tail index, (sublattice, plus set).

  • h_idx (tuple): head index, (sublattice, plus set).

  • R_primitive (list): R vector in primitive cell.

class BondInfoType(tail, head, neighbor, t_rank, h_rank)#

Bases: tuple

Bond info type.

Fields:
  • tail (str): tail name.

  • head (str): head name.

  • neighbor (int): neighbor.

  • t_rank (int): tail orbital rank.

  • h_rank (int): head orbital rank.

class BraketInfoType(bh_rank, bh_idx, kt_rank, kt_idx)#

Bases: tuple

Braket info type.

Fields:
  • bh_rank (int): bra-head orbital rank.

  • bh_idx (int): bra-head orbital index.

  • kt_rank (int): ket-tail orbital rank.

  • kt_idx (int): ket-tail orbital index.

class SAMBType(head, tail, wyckoff, bk_info)#

Bases: tuple

Combined SAMB type.

Fields:
  • head (str): head name.

  • tail (str): tail name.

  • wyckoff (str): Wyckoff position.

  • bk_info (BraketInfoType): braket info.

class UniqueSAMBType(samb_type, neighbor, n)#

Bases: tuple

Unique combined SAMB type.

Fields:
  • samb_type(SAMTType): SAMB type.

  • neighbor (int): neighbor.

  • n (int): multiplicity for same neighbor.

Misc.#

class InternalBasisType(s, x)#

Bases: tuple

Internal basis type.

Fields:
  • s (int): internal rank.

  • x (str): internal type, q or g.

class IrrepListType(X, Gamma)#

Bases: tuple

Irrep list type.

Fields:
  • X (str): type, Q, G, T, M.

  • Gamma (str): irrep.

class RepMatrixType(Gamma)#

Bases: tuple

Representation matrix type.

Fields:
  • Gamma (str): representation matrix irrep.

class SOMatrixType(X, s)#

Bases: tuple

Symmetry operation matrix type.

Fields:
  • X (str): SO matrix type, Q, G, T, M.

  • s (int): So matrix rank.