mordred.Weight module

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

Bases: mordred._base.descriptor.Descriptor

molecular weight descriptor.

Parameters

averaged (bool) – averaged by number of atom

description()[source]
since = StrictVersion ('1.0')
explicit_hydrogens = True
rtype

alias of builtins.float

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