RPModel
- class specatalog.models.creation_pydantic_molecules.RPModel(*, molecular_formula=None, additional_info=None, radical_1, linker, radical_2, name_suffix=None)[source]
Pydantic model for creating new
mol.RPradical-pair molecules.This subclass of
MoleculeModeladds fields specific to radical-pair molecules. Themodel_classattribute is fixed tomol.RPand cannot be changed. Thenameproperty is computed automatically from the radicals and linker.- Parameters:
molecular_formula (str | None)
additional_info (str | None)
radical_1 (Radicals)
linker (Linker)
radical_2 (Radicals)
name_suffix (str | None)
- model_class
Always set to
mol.RP. Attempting to assign a different class raises a validation error.- Type:
Type
- radical_1
Enumeration specifying the first radical centre.
- Type:
av.Radicals
- linker
Enumeration specifying the chemical linker connecting the radicals.
- Type:
av.Linker
- radical_2
Enumeration specifying the second radical centre.
- Type:
av.Radicals
- name
Computed property combining radicals and linker into a name (e.g., “TEMPO1-Ph-TEMPO2”).
- Type:
str