A class to encapsulate canvas finger print generation. Fingerprints
may be generated and returned as Fingerprint objects or may be written to
a file.
|
|
|
__init__(self,
logger,
default_type=' Linear ' )
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
debug(self,
output)
Wrapper for debug logging, just to simplify logging |
|
|
|
getDefaultAtomTypingScheme(self)
Once the fingerprint type has been set then this method will return
the default atom typing scheme appropriate for that fingerprint type |
|
|
|
getDescription(self)
Returns a string representing a summary of the current fingerprint
settings |
|
|
|
getCurrentType(self)
Returns the name of the fingerprint type current set: |
|
|
|
setType(self,
fp_type)
Set the type of fingerprints to be generated by this generator. |
|
|
|
setPrecision(self,
precision)
Set the number of bits to be used for fingerprint generation. |
|
|
|
getPrecision(self)
Returns the current number of bits used for fingerprinting |
|
|
|
|
|
getCurrentAtomBondTyping(self)
Returns the current atom bond typing value |
|
|
|
_getFingerprinter(self)
A private method which will return a CanvasFingerprinter object
appropriate to the current type and atom typing settings |
|
|
|
generate(self,
st,
chmmol=False)
Return a fingerprint object using the current settings for type, bit
width and atom typing for the Structure object st |
|
|
|
open(self,
filename)
Open a file to which fingerprints are to be written |
|
|
|
write(self,
st,
id,
chmmol=False)
Create a fingerprint from the structure 'st' and add it to the file
with the ID 'id'. |
|
|
|
close(self)
Close the file which was previously open for finger print generation |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|