![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
RDFCodeCalculator implementation for the calculation of feature-centered radial distribution function (RDF) codes of pharmacophores. More...
Inheritance diagram for CDPL.Descr.FeatureRDFCodeCalculator:Public Member Functions | |
| None | __init__ () |
Constructs the FeatureRDFCodeCalculator instance. | |
| None | __init__ (FeatureRDFCodeCalculator calc) |
Initializes a copy of the FeatureRDFCodeCalculator instance calc. More... | |
| None | __init__ (Pharm.FeatureContainer cntnr, Math.DVector rdf_code) |
Constructs the FeatureRDFCodeCalculator instance and calculates the RDF code of the features provided by cntnr. More... | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| FeatureRDFCodeCalculator | assign (FeatureRDFCodeCalculator calc) |
Replaces the current state of self with a copy of the state of the FeatureRDFCodeCalculator instance calc. More... | |
| None | setEntityPairWeightFunction (Pharm.DoubleFeature2Functor func) |
| None | setEntity3DCoordinatesFunction (Pharm.Feature3DCoordinatesFunction func) |
| None | setNumSteps (int num_steps) |
| int | getNumSteps () |
| None | setRadiusIncrement (float radius_inc) |
| float | getRadiusIncrement () |
| None | setStartRadius (float start_radius) |
| float | getStartRadius () |
| None | setSmoothingFactor (float factor) |
| float | getSmoothingFactor () |
| None | setScalingFactor (float factor) |
| float | getScalingFactor () |
| None | enableDistanceToIntervalCenterRounding (bool enable) |
| bool | distanceToIntervalsCenterRoundingEnabled () |
| None | calculate (Pharm.FeatureContainer cntnr, Math.DVector rdf_code) |
| Calculates the RDF code of the features provided by cntnr. More... | |
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) | |
RDFCodeCalculator implementation for the calculation of feature-centered radial distribution function (RDF) codes of pharmacophores.
FeatureRDFCodeCalculator is a specialization of RDFCodeCalculator for entities of type Pharm.Feature. The feature 3D coordinates accessor function is preset to Chem.get3DCoordinates() and the entity pair weight function as well as any other RDF calculation parameters can be configured via the inherited setter methods of the base class.
| None CDPL.Descr.FeatureRDFCodeCalculator.__init__ | ( | FeatureRDFCodeCalculator | calc | ) |
Initializes a copy of the FeatureRDFCodeCalculator instance calc.
| calc | The FeatureRDFCodeCalculator instance to copy. |
| None CDPL.Descr.FeatureRDFCodeCalculator.__init__ | ( | Pharm.FeatureContainer | cntnr, |
| Math.DVector | rdf_code | ||
| ) |
Constructs the FeatureRDFCodeCalculator instance and calculates the RDF code of the features provided by cntnr.
The calculated RDF code is stored in the vector rdf_code.
| cntnr | The container with the features for which to calculate the RDF code. |
| rdf_code | The vector where to store the calculated RDF code. |
| int CDPL.Descr.FeatureRDFCodeCalculator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python FeatureRDFCodeCalculator 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 FeatureRDFCodeCalculator 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().
| FeatureRDFCodeCalculator CDPL.Descr.FeatureRDFCodeCalculator.assign | ( | FeatureRDFCodeCalculator | calc | ) |
Replaces the current state of self with a copy of the state of the FeatureRDFCodeCalculator instance calc.
| calc | The FeatureRDFCodeCalculator instance to copy. |
| None CDPL.Descr.FeatureRDFCodeCalculator.setEntityPairWeightFunction | ( | Pharm.DoubleFeature2Functor | func | ) |
| func |
| None CDPL.Descr.FeatureRDFCodeCalculator.setEntity3DCoordinatesFunction | ( | Pharm.Feature3DCoordinatesFunction | func | ) |
| func |
| None CDPL.Descr.FeatureRDFCodeCalculator.setNumSteps | ( | int | num_steps | ) |
| num_steps |
| int CDPL.Descr.FeatureRDFCodeCalculator.getNumSteps | ( | ) |
| None CDPL.Descr.FeatureRDFCodeCalculator.setRadiusIncrement | ( | float | radius_inc | ) |
| radius_inc |
| float CDPL.Descr.FeatureRDFCodeCalculator.getRadiusIncrement | ( | ) |
| None CDPL.Descr.FeatureRDFCodeCalculator.setStartRadius | ( | float | start_radius | ) |
| start_radius |
| float CDPL.Descr.FeatureRDFCodeCalculator.getStartRadius | ( | ) |
| None CDPL.Descr.FeatureRDFCodeCalculator.setSmoothingFactor | ( | float | factor | ) |
| factor |
| float CDPL.Descr.FeatureRDFCodeCalculator.getSmoothingFactor | ( | ) |
| None CDPL.Descr.FeatureRDFCodeCalculator.setScalingFactor | ( | float | factor | ) |
| factor |
| float CDPL.Descr.FeatureRDFCodeCalculator.getScalingFactor | ( | ) |
| None CDPL.Descr.FeatureRDFCodeCalculator.enableDistanceToIntervalCenterRounding | ( | bool | enable | ) |
| enable |
| bool CDPL.Descr.FeatureRDFCodeCalculator.distanceToIntervalsCenterRoundingEnabled | ( | ) |
| None CDPL.Descr.FeatureRDFCodeCalculator.calculate | ( | Pharm.FeatureContainer | cntnr, |
| Math.DVector | rdf_code | ||
| ) |
Calculates the RDF code of the features provided by cntnr.
The calculated RDF code is stored in the vector rdf_code.
| cntnr | The container with the features for which to calculate the RDF code. |
| rdf_code | The vector where to store the calculated RDF code. |