mordred.Weight module

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

Bases: mordred._base.descriptor.Descriptor

molecular weight descriptor.

Parameters:averaged (bool) – averaged by number of atom
description()[source]
explicit_hydrogens = True
rtype

alias of float

from_json(obj)

Create Descriptor instance from json dict.

Parameters:obj (dict) – descriptor dict
Returns:descriptor
Return type:Descriptor
get_parameter_dict()
kekulize = False
parameter_names = ('averaged',)
require_3D = False
require_connected = False
to_json()

Convert to json serializable dictionary.

Returns:dictionary of descriptor
Return type:dict