public class LocalPropertyVarianceAttributeGenerator extends LocalPropertyDifferenceAttributeGenerator
Variance in property is computed by first finding the face-weighted mean property of
AttrDescription, AttrName
Constructor and Description |
---|
LocalPropertyVarianceAttributeGenerator() |
LocalPropertyVarianceAttributeGenerator(int... shells) |
Modifier and Type | Method and Description |
---|---|
protected double[] |
getAtomProperties(vassal.analysis.VoronoiCellBasedAnalysis voro,
org.apache.commons.lang3.tuple.Pair<int[][],double[][]> faceInfo,
double[] propValues)
Provided the Voronoi tessellation and properties of each atom type,
compute the properties of a certain neighbor cell for each atom.
|
addAttributes, addShell, addShells, clearShells, createNames, printDescription, printUsage, setOptions
runCommand
public LocalPropertyVarianceAttributeGenerator()
public LocalPropertyVarianceAttributeGenerator(int... shells)
protected double[] getAtomProperties(vassal.analysis.VoronoiCellBasedAnalysis voro, org.apache.commons.lang3.tuple.Pair<int[][],double[][]> faceInfo, double[] propValues)
LocalPropertyDifferenceAttributeGenerator
For LocalPropertyDifferenceAttributeGenerator, this produces the local property difference for each atom.
getAtomProperties
in class LocalPropertyDifferenceAttributeGenerator
voro
- Voronoi tessellationfaceInfo
- Areas and types on outside of each face for desired shell. Computed
using VoronoiCellBasedAnalysis.getNeighborShellWeights(int)
propValues
- Properties of each atom type