public class CoulombMatrixAttributeGenerator extends BaseAttributeGenerator implements Citable
This method works by computing an approximation for the Coulomb matrix that considers periodicity. Specifically, we use the Coulomb Sine matrix, which is described in detail in the Faber et al.. For molecules, the Coloumb matrix is defined as
Note: The Coulomb Matrix attributes are dependant on unit cell choice.
Please consider transforming your input crystal structures to the primitive
cell before using these attributes.
Usage: <n eigenvalues>
n eigenvalues: Maximum number of Coulomb matrix eigenvalues
to use as attributes
| Modifier and Type | Field and Description |
|---|---|
protected int |
NEigenvalues
Maximum number of atoms to consider.
|
| Constructor and Description |
|---|
CoulombMatrixAttributeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(Dataset data)
Generate new attributes for a dataset.
|
java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,Citation>> |
getCitations()
Return a list of citations for this object and any underlying objects.
|
java.lang.String |
printDescription(boolean htmlFormat)
Print out description of attributes.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setNEigenvalues(int x)
Set the number of eigenvalues used in representation
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
runCommandprotected int NEigenvalues
public void setOptions(java.util.List<java.lang.Object> Options)
throws java.lang.Exception
OptionssetOptions in interface OptionsOptions - Array of options as Objects - can be nulljava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
OptionsprintUsage in interface Optionspublic void setNEigenvalues(int x)
x - Desired numberspublic void addAttributes(Dataset data) throws java.lang.Exception
BaseAttributeGeneratoraddAttributes in class BaseAttributeGeneratordata - Dataset to be added tojava.lang.ExceptionDataset.addAttribute(java.lang.String, double[])public java.lang.String printDescription(boolean htmlFormat)
BaseAttributeGeneratorImplementation Notes
Format should look like
[Full Name of generator]: (Number of attributes) Text description of what these attributes are
For HTML format, omit the ":".
printDescription in class BaseAttributeGeneratorhtmlFormat - Whether to print in HTML formatpublic java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,Citation>> getCitations()
CitablegetCitations in interface Citable