mordred.TopologicalIndex module¶
- class mordred.TopologicalIndex.Diameter[source]¶
Bases:
TopologicalIndexBase
diameter descriptor.
- since = <Version('1.0.0')>¶
- property config¶
- explicit_hydrogens = False¶
- classmethod from_json(obj)¶
Create Descriptor instance from json dict.
- Parameters:
obj (dict) – descriptor dict
- Returns:
descriptor
- Return type:
- get_3D_mol()¶
- get_parameter_dict()¶
- kekulize = False¶
- parameter_names = ()¶
- require_3D = False¶
- require_connected = False¶
- class mordred.TopologicalIndex.Radius[source]¶
Bases:
TopologicalIndexBase
radius descriptor.
- since = <Version('1.0.0')>¶
- property config¶
- explicit_hydrogens = False¶
- classmethod from_json(obj)¶
Create Descriptor instance from json dict.
- Parameters:
obj (dict) – descriptor dict
- Returns:
descriptor
- Return type:
- get_3D_mol()¶
- get_parameter_dict()¶
- kekulize = False¶
- parameter_names = ()¶
- require_3D = False¶
- require_connected = False¶
- class mordred.TopologicalIndex.TopologicalShapeIndex[source]¶
Bases:
TopologicalIndexBase
topological shape index descriptor.
\[I_{\rm topo} = \frac{D - R}{R}\]where \(R\) is graph radius, \(D\) is graph diameter.
- Returns:
NaN when \(R = 0\)
- since = <Version('1.0.0')>¶
- property config¶
- explicit_hydrogens = False¶
- classmethod from_json(obj)¶
Create Descriptor instance from json dict.
- Parameters:
obj (dict) – descriptor dict
- Returns:
descriptor
- Return type:
- get_3D_mol()¶
- get_parameter_dict()¶
- kekulize = False¶
- parameter_names = ()¶
- require_3D = False¶
- require_connected = False¶
- class mordred.TopologicalIndex.PetitjeanIndex[source]¶
Bases:
TopologicalShapeIndex
Petitjean index descriptor.
\[I_{\rm Petitjean} = \frac{D - R}{D}\]where \(R\) is graph radius, \(D\) is graph diameter.
- Returns:
NaN when \(D = 0\)
- since = <Version('1.0.0')>¶
- property config¶
- explicit_hydrogens = False¶
- classmethod from_json(obj)¶
Create Descriptor instance from json dict.
- Parameters:
obj (dict) – descriptor dict
- Returns:
descriptor
- Return type:
- get_3D_mol()¶
- get_parameter_dict()¶
- kekulize = False¶
- parameter_names = ()¶
- require_3D = False¶
- require_connected = False¶