TTPModel

class specatalog.models.creation_pydantic_molecules.TTPModel(*, molecular_formula=None, additional_info=None, triplet_1, linker, triplet_2, name_suffix=None)[source]

Pydantic model for creating new mol.TTP triplet–triplet–pair molecules.

This subclass of MoleculeModel adds fields specific to TTP molecules. The model_class attribute is fixed to mol.TTP and cannot be changed. The name property is computed automatically from the triplets and linker.

Parameters:
  • molecular_formula (str | None)

  • additional_info (str | None)

  • triplet_1 (Chromophores)

  • linker (Linker)

  • triplet_2 (Chromophores)

  • name_suffix (str | None)

model_class

Always set to mol.TTP. Attempting to assign a different class raises a validation error.

Type:

Type

triplet_1

Enumeration specifying the first triplet-capable chromophore.

Type:

av.Chromophores

linker

Enumeration defining the chemical linker connecting the two triplets.

Type:

av.Linker

triplet_2

Enumeration specifying the second triplet-capable chromophore.

Type:

av.Chromophores

name

Computed property combining triplet and linker values into a name (e.g., “Perylene-ph-Perylene”).

Type:

str