Package cinfony :: Module rdk :: Class Fingerprint
[frames] | no frames]

Class Fingerprint

source code

object --+
         |
        Fingerprint

A Molecular Fingerprint.

Required parameters:
   fingerprint -- a vector calculated by one of the fingerprint methods

Attributes:
   fp -- the underlying fingerprint object
   bits -- a list of bits set in the Fingerprint

Methods:
   The "|" operator can be used to calculate the Tanimoto coeff. For example,
   given two Fingerprints 'a', and 'b', the Tanimoto coefficient is given by:
      tanimoto = a | b

Instance Methods
 
__init__(self, fingerprint)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__or__(self, other) source code
 
__getattr__(self, attr) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, fingerprint)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)