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.TTPtriplet–triplet–pair molecules.This subclass of
MoleculeModeladds fields specific to TTP molecules. Themodel_classattribute is fixed tomol.TTPand cannot be changed. Thenameproperty 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