public class ChargeDependentAttributeGenerator extends BaseAttributeGenerator implements Citable
These attributes are based on the formal charges of materials determined using the OxidationStateGuesser. Currently implemented attributes:
For materials that the algorithm fails to find an charge states,
NaN is set for all attributes.
Usage: *No options*
http://journals.aps.org/prb/abstract/10.1103/PhysRevB.93.085142,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected OxidationStateGuesser |
ChargeGuesser
Tool used to compute electronegativity
|
protected double[][] |
IonizationEnergies
Ionization energies of each element
|
| Constructor and Description |
|---|
ChargeDependentAttributeGenerator() |
| 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 |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
runCommandprotected OxidationStateGuesser ChargeGuesser
protected double[][] IonizationEnergies
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 addAttributes(Dataset data)
BaseAttributeGeneratoraddAttributes in class BaseAttributeGeneratordata - Dataset to be added toDataset.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