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.
|
runCommand
protected int NEigenvalues
public void setOptions(java.util.List<java.lang.Object> Options) throws java.lang.Exception
Options
setOptions
in interface Options
Options
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
printUsage
in interface Options
public void setNEigenvalues(int x)
x
- Desired numberspublic void addAttributes(Dataset data) throws java.lang.Exception
BaseAttributeGenerator
addAttributes
in class BaseAttributeGenerator
data
- Dataset to be added tojava.lang.Exception
Dataset.addAttribute(java.lang.String, double[])
public java.lang.String printDescription(boolean htmlFormat)
BaseAttributeGenerator
Implementation 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 BaseAttributeGenerator
htmlFormat
- Whether to print in HTML formatpublic java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,Citation>> getCitations()
Citable
getCitations
in interface Citable