nvalchemi.csp.get_crystal_system#

nvalchemi.csp.get_crystal_system(space_group)[source]#

Return the crystal system for an International space-group number.

Parameters:

space_group (int) – International space-group number in [1, 230].

Returns:

crystal_system – One of the seven standard crystal systems.

Return type:

CrystalSystem

Raises:
  • TypeError – If space_group is not a non-boolean integer.

  • ValueError – If the International number is outside [1, 230].