mordred.Weight module

class mordred.Weight.Weight(exact=True, averaged=False)[source]

Bases: Descriptor

molecular weight descriptor.

Parameters:

averaged (bool) – averaged by number of atom

description()[source]
since = <Version('1.0.0')>
explicit_hydrogens = True
rtype

alias of float

property config
classmethod from_json(obj)

Create Descriptor instance from json dict.

Parameters:

obj (dict) – descriptor dict

Returns:

descriptor

Return type:

Descriptor

get_3D_mol()
get_parameter_dict()
kekulize = False
parameter_names = ('exact', 'averaged')
require_3D = False
require_connected = False
to_json()

Convert to json serializable dictionary.

Returns:

dictionary of descriptor

Return type:

dict