public class CPSADescriptor extends AbstractMolecularDescriptor implements IMolecularDescriptor
DoubleArrayResult containing the 29 descriptors in the order
described in the table.
| IDescriptor | Meaning |
|---|---|
| PPSA-1 | partial positive surface area -- sum of surface area on positive parts of molecule |
| PPSA-2 | partial positive surface area * total positive charge on the molecule |
| PPSA-3 | charge weighted partial positive surface area |
| PNSA-1 | partial negative surface area -- sum of surface area on negative parts of molecule |
| PNSA-2 | partial negative surface area * total negative charge on the molecule |
| PNSA-3 | charge weighted partial negative surface area |
| DPSA-1 | difference of PPSA-1 and PNSA-1 |
| DPSA-2 | difference of FPSA-2 and PNSA-2 |
| DPSA-3 | difference of PPSA-3 and PNSA-3 |
| FPSA-1 | PPSA-1 / total molecular surface area |
| FFSA-2 | PPSA-2 / total molecular surface area |
| FPSA-3 | PPSA-3 / total molecular surface area |
| FNSA-1 | PNSA-1 / total molecular surface area |
| FNSA-2 | PNSA-2 / total molecular surface area |
| FNSA-3 | PNSA-3 / total molecular surface area |
| WPSA-1 | PPSA-1 * total molecular surface area / 1000 |
| WPSA-2 | PPSA-2 * total molecular surface area /1000 |
| WPSA-3 | PPSA-3 * total molecular surface area / 1000 |
| WNSA-1 | PNSA-1 * total molecular surface area /1000 |
| WNSA-2 | PNSA-2 * total molecular surface area / 1000 |
| WNSA-3 | PNSA-3 * total molecular surface area / 1000 |
| RPCG | relative positive charge -- most positive charge / total positive charge |
| RNCG | relative negative charge -- most negative charge / total negative charge |
| RPCS | relative positive charge surface area -- most positive surface area * RPCG |
| RNCS | relative negative charge surface area -- most negative surface area * RNCG |
| THSA | sum of solvent accessible surface areas of atoms with absolute value of partial charges less than 0.2 |
| TPSA | sum of solvent accessible surface areas of atoms with absolute value of partial charges greater than or equal 0.2 |
| RHSA | THSA / total molecular surface area |
| RPSA | TPSA / total molecular surface area |
NumericalSurface) and obtains partial
charges using the Gasteiger-Marsilli algorithm (see GasteigerMarsiliPartialCharges).
However, a comparison of the values calculated by the two implementations indicates
that they are qualitatively the same.
| Name | Default | Description |
| no parameters |
| Constructor and Description |
|---|
CPSADescriptor() |
| Modifier and Type | Method and Description |
|---|---|
DescriptorValue |
calculate(IAtomContainer atomContainer)
Evaluates the 29 CPSA descriptors using Gasteiger-Marsilli charges.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
IDescriptorResult |
getDescriptorResultType()
Returns the specific type of the DescriptorResult object.
|
String[] |
getParameterNames()
Gets the parameterNames attribute of the CPSADescriptor object.
|
Object[] |
getParameters()
Gets the parameters attribute of the CPSADescriptor object.
|
Object |
getParameterType(String name)
Gets the parameterType attribute of the CPSADescriptor object.
|
DescriptorSpecification |
getSpecification()
Returns a
IImplementationSpecification which specifies which descriptor
is implemented by this class. |
void |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
void |
setParameters(Object[] params)
Sets the parameters attribute of the CPSADescriptor object.
|
cloneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialisepublic DescriptorSpecification getSpecification()
IDescriptorIImplementationSpecification which specifies which descriptor
is implemented by this class.
These fields are used in the map:
getSpecification in interface IDescriptorpublic void setParameters(Object[] params) throws CDKException
setParameters in interface IDescriptorparams - The new parameters valueCDKException - Description of the ExceptiongetParameters()public Object[] getParameters()
getParameters in interface IDescriptorsetParameters(java.lang.Object[])public String[] getDescriptorNames()
IDescriptorALOGPDescriptor
the return array will have a single elementgetDescriptorNames in interface IDescriptorpublic String[] getParameterNames()
getParameterNames in interface IDescriptorpublic Object getParameterType(String name)
getParameterType in interface IDescriptorname - Description of the Parameterpublic DescriptorValue calculate(IAtomContainer atomContainer)
calculate in interface IMolecularDescriptoratomContainer - Parameter is the atom container.public IDescriptorResult getDescriptorResultType()
DescriptorValue object. Note that the same result
can be achieved by interrogating the DescriptorValue object; this method
allows you to do the same thing, without actually calculating the descriptor.getDescriptorResultType in interface IMolecularDescriptorIDescriptorResult interface indicating
the actual type of values returned by the descriptor in the DescriptorValue objectpublic void initialise(IChemObjectBuilder builder)
initialise in interface IDescriptorbuilder - chem object buildCopyright © 2021. All rights reserved.