OEFPTypeParams
class OEFPTypeParams
This class represents OEFPTypeParams.
See also
Fingerprint parameters section
Constructors
OEFPTypeParams(typestr: str) -> OEFPTypeParams
Constructor that parses the given string as a representation of a fingerprint and extracts the parameters that are used to generate the fingerprint.
See also
OEFPTypeBase.GetFPTypeStringmethod
OEFPTypeParams(fptype: OEFPTypeBase) -> OEFPTypeParams
Constructor that extracts the parameters that are used to generate the fingerprint type.
See also
OEFPTypeBase class
GetAtomTypes
GetAtomTypes() -> int
Returns
the atom types extracted from the string for
OEFPType_Path,OEFPType_CircularandOEFPType_Treefingerprint typeszero for
OEFPType_LingoandOEFPType_MACCS166fingerprint types
The return value is taken from the OEFPAtomType
namespace.
See also
OEGetFPAtomTypefunction
GetBondTypes
GetBondTypes() -> int
Returns
the bond types extracted from the string for
OEFPType_Path,OEFPType_CircularandOEFPType_Treefingerprint typeszero for
OEFPType_LingoandOEFPType_MACCS166fingerprint types
The return value is taken from the OEFPBondType
namespace.
See also
OEGetFPBondTypefunction
GetFPType
GetFPType() -> int
Returns the fingerprint type extracted from the string.
The return value is taken from the OEFPType
namespace.
GetMaxDistance
GetMaxDistance() -> int
Returns:
the size of the largest path fragments (in bonds), if the fingerprint type is
OEFPType_Paththe size of the largest circular fragments (in radius), if the fingerprint type is
OEFPType_Circularthe size of the largest tree fragments (in bonds), if the fingerprint type is
OEFPType_Treezero for
OEFPType_LingoandOEFPType_MACCS166fingerprint types
GetMinDistance
GetMinDistance() -> int
Returns:
the size of the smallest path fragments (in bonds), if the fingerprint type is
OEFPType_Paththe size of the smallest circular fragments (in radius), if the fingerprint type is
OEFPType_Circularthe size of the smallest tree fragments (in bonds), if the fingerprint type is
OEFPType_Treezero for
OEFPType_LingoandOEFPType_MACCS166fingerprint types
GetNumBits
GetNumBits() -> int
Returns:
the size of the fingerprint in bits for
OEFPType_Path,OEFPType_CircularandOEFPType_Treefingerprint types166 for
OEFPType_MACCS166fingerprint typezero for
OEFPType_Lingofingerprint type
GetVersion
GetVersion() -> short
Returns the version number.
See also
OEGetFingerPrintVersionStringfunction
IsValid
IsValid() -> bool
Returns whether the string was valid from which the OEFPTypeParams object was initialized.