TDPModel
- class specatalog.models.creation_pydantic_molecules.TDPModel(*, molecular_formula=None, additional_info=None, doublet, linker, chromophore, name_suffix=None)[source]
Pydantic model for creating new
mol.TDPtriplet–doublet–pair molecules.This subclass of
MoleculeModeladds fields specific to TDP molecules. Themodel_classattribute is fixed tomol.TDPand cannot be changed.- Parameters:
molecular_formula (str | None)
additional_info (str | None)
doublet (Doublets)
linker (Linker)
chromophore (Chromophores)
name_suffix (str | None)
- model_class
Always set to
mol.TDP. Attempting to assign a different class raises a validation error.- Type:
Type
- doublet
Enumeration specifying the doublet radical centre.
- Type:
av.Doublets
- linker
Enumeration defining the chemical linker connecting the doublet and chromophore.
- Type:
av.Linker
- chromophore
Enumeration specifying the chromophoric unit in the TDP system.
- Type:
av.Chromophores
- name
Computed property combining doublet linker and chromophore into a name (e.g., “PDI2-co-TEMPO3”).
- Type:
str