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 FormModifier 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.
|
runCommand
protected OxidationStateGuesser ChargeGuesser
protected double[][] IonizationEnergies
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 addAttributes(Dataset data)
BaseAttributeGenerator
addAttributes
in class BaseAttributeGenerator
data
- Dataset to be added toDataset.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