Chemical Data Processing Library Python API - Version 1.1.1
|
PharmacophoreRDFDescriptorCalculator. More...
Public Member Functions | |
None | __init__ () |
Constructs the PharmacophoreRDFDescriptorCalculator instance. | |
None | __init__ (PharmacophoreRDFDescriptorCalculator calc) |
Initializes a copy of the PharmacophoreRDFDescriptorCalculator instance calc. More... | |
None | __init__ (Pharm.FeatureContainer cntnr, Math.DVector descr) |
Initializes the PharmacophoreRDFDescriptorCalculator instance. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
PharmacophoreRDFDescriptorCalculator | assign (PharmacophoreRDFDescriptorCalculator calc) |
Replaces the current state of self with a copy of the state of the PharmacophoreRDFDescriptorCalculator instance calc. More... | |
None | setFeature3DCoordinatesFunction (Pharm.Feature3DCoordinatesFunction func) |
Allows to specify the feature coordinates function. More... | |
None | setFeaturePairWeightFunction (Pharm.DoubleFeature2UIntFunctor func) |
Allows to specify a custom feature pair weight function. More... | |
None | setNumSteps (int num_steps) |
Sets the number of desired radius incrementation steps. More... | |
int | getNumSteps () |
Returns the number of performed radius incrementation steps. More... | |
None | setRadiusIncrement (float radius_inc) |
Sets the radius step size between successive RDF code elements. More... | |
float | getRadiusIncrement () |
Returns the radius step size between successive RDF code elements. More... | |
None | setStartRadius (float start_radius) |
Sets the starting value of the radius. More... | |
float | getStartRadius () |
Returns the starting value of the radius. More... | |
None | setSmoothingFactor (float factor) |
Allows to specify the smoothing factor used in the calculation of feature pair RDF contributions. More... | |
float | getSmoothingFactor () |
Returns the smoothing factor used in the calculation of feature pair RDF contributions. More... | |
None | setScalingFactor (float factor) |
Allows to specify the scaling factor for the RDF code elements. More... | |
float | getScalingFactor () |
Returns the scaling factor applied to the RDF code elements. More... | |
None | enableDistanceToIntervalCenterRounding (bool enable) |
Allows to specify whether feature pair distances should be rounded to the nearest radius interval center. More... | |
bool | distanceToIntervalsCenterRoundingEnabled () |
Tells whether feature pair distances get rounded to the nearest radius interval centers. More... | |
None | calculate (Pharm.FeatureContainer cntnr, Math.DVector descr) |
Properties | |
objectID = property(getObjectID) | |
distanceToIntervalCenterRounding = property(distanceToIntervalsCenterRoundingEnabled, enableDistanceToIntervalCenterRounding) | |
smoothingFactor = property(getSmoothingFactor, setSmoothingFactor) | |
scalingFactor = property(getScalingFactor, setScalingFactor) | |
startRadius = property(getStartRadius, setStartRadius) | |
radiusIncrement = property(getRadiusIncrement, setRadiusIncrement) | |
numSteps = property(getNumSteps, setNumSteps) | |
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.__init__ | ( | PharmacophoreRDFDescriptorCalculator | calc | ) |
Initializes a copy of the PharmacophoreRDFDescriptorCalculator instance calc.
calc | The PharmacophoreRDFDescriptorCalculator instance to copy. |
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.__init__ | ( | Pharm.FeatureContainer | cntnr, |
Math.DVector | descr | ||
) |
Initializes the PharmacophoreRDFDescriptorCalculator instance.
cntnr | |
descr |
int CDPL.Descr.PharmacophoreRDFDescriptorCalculator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python PharmacophoreRDFDescriptorCalculator instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two PharmacophoreRDFDescriptorCalculator instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.
PharmacophoreRDFDescriptorCalculator CDPL.Descr.PharmacophoreRDFDescriptorCalculator.assign | ( | PharmacophoreRDFDescriptorCalculator | calc | ) |
Replaces the current state of self with a copy of the state of the PharmacophoreRDFDescriptorCalculator instance calc.
calc | The PharmacophoreRDFDescriptorCalculator instance to copy. |
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.setFeature3DCoordinatesFunction | ( | Pharm.Feature3DCoordinatesFunction | func | ) |
Allows to specify the feature coordinates function.
func | A Feature3DCoordinatesFunction instance that wraps the target function. |
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.setFeaturePairWeightFunction | ( | Pharm.DoubleFeature2UIntFunctor | func | ) |
Allows to specify a custom feature pair weight function.
func | A FeaturePairWeightFunction instance that wraps the target function. |
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.setNumSteps | ( | int | num_steps | ) |
Sets the number of desired radius incrementation steps.
The number of performed radius incrementation steps defines the size of the calculated RDF code vector which is equal to the number of steps plus 1.
num_steps | The number of radius incrementation steps. |
int CDPL.Descr.PharmacophoreRDFDescriptorCalculator.getNumSteps | ( | ) |
Returns the number of performed radius incrementation steps.
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.setRadiusIncrement | ( | float | radius_inc | ) |
Sets the radius step size between successive RDF code elements.
radius_inc | The radius step size. |
float CDPL.Descr.PharmacophoreRDFDescriptorCalculator.getRadiusIncrement | ( | ) |
Returns the radius step size between successive RDF code elements.
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.setStartRadius | ( | float | start_radius | ) |
Sets the starting value of the radius.
start_radius | The starting value of the radius. |
float CDPL.Descr.PharmacophoreRDFDescriptorCalculator.getStartRadius | ( | ) |
Returns the starting value of the radius.
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.setSmoothingFactor | ( | float | factor | ) |
Allows to specify the smoothing factor used in the calculation of feature pair RDF contributions.
factor | The smoothing factor. |
float CDPL.Descr.PharmacophoreRDFDescriptorCalculator.getSmoothingFactor | ( | ) |
Returns the smoothing factor used in the calculation of feature pair RDF contributions.
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.setScalingFactor | ( | float | factor | ) |
Allows to specify the scaling factor for the RDF code elements.
factor | The scaling factor. |
float CDPL.Descr.PharmacophoreRDFDescriptorCalculator.getScalingFactor | ( | ) |
Returns the scaling factor applied to the RDF code elements.
None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.enableDistanceToIntervalCenterRounding | ( | bool | enable | ) |
Allows to specify whether feature pair distances should be rounded to the nearest radius interval center.
enable | True if pair distances should be rounded, and False otherwise. |
bool CDPL.Descr.PharmacophoreRDFDescriptorCalculator.distanceToIntervalsCenterRoundingEnabled | ( | ) |
Tells whether feature pair distances get rounded to the nearest radius interval centers.
True
if pair distances get rounded, and False
otherwise. None CDPL.Descr.PharmacophoreRDFDescriptorCalculator.calculate | ( | Pharm.FeatureContainer | cntnr, |
Math.DVector | descr | ||
) |
cntnr | |
descr |