mordred.ZagrebIndex module¶
- class mordred.ZagrebIndex.ZagrebIndex(version=1, variable=1)[source]¶
Bases:
Descriptor
Zagreb index descriptor.
where
is degree of i-th atom- Parameters:
- Returns:
NaN when valence of any atoms are 0
- since = <Version('1.0.0')>¶
- explicit_hydrogens = False¶
- property config¶
- 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 = ('version', 'variable')¶
- require_3D = False¶
- require_connected = False¶