DataPipe
, IDataSink
, AlphaSource
public class DataProcessorVirialOverlap extends DataProcessor implements AlphaSource
Modifier and Type | Field | Description |
---|---|---|
protected double |
alphaCenter |
|
protected double |
alphaSpan |
|
protected DataDoubleArray |
data |
|
protected int |
numIncomingValues |
dataInfo, dataSink, tag
Constructor | Description |
---|---|
DataProcessorVirialOverlap(int aNumAlpha,
boolean aIsReference) |
Modifier and Type | Method | Description |
---|---|---|
double |
getAlpha(int i) |
Returns ith factor used in the overlap value.
|
double |
getAlphaCenter() |
|
double |
getAlphaSpan() |
|
int |
getNumAlpha() |
Returns the number of possible alpha values.
|
protected IData |
processData(IData inputData) |
take in v1/pi1, pi0/pi1, spit out v1/pi, overlap0, overlap1, overlap2...
|
protected IDataInfo |
processDataInfo(IDataInfo inputDataInfo) |
Informs this DataProcessor of the DataInfo for the Data it will be
processing.
|
void |
setBennetParam(double aCenter,
double aSpan) |
sets the range of parameter values used for Bennets method.
|
void |
setNumAlpha(int newNumAlpha) |
|
protected void |
setup() |
getDataInfo, getDataSink, getTag, putData, putDataInfo, setDataSink
protected DataDoubleArray data
protected double alphaCenter
protected double alphaSpan
protected int numIncomingValues
public DataProcessorVirialOverlap(int aNumAlpha, boolean aIsReference)
protected IDataInfo processDataInfo(IDataInfo inputDataInfo)
DataProcessor
processDataInfo
in class DataProcessor
inputDataInfo
- the DataInfo of the Data that will be input to this
DataProcessorprotected void setup()
public void setBennetParam(double aCenter, double aSpan)
aCenter
- geometric mean of all valuesaSpan
- natural log of ratio of max value to aCenterpublic void setNumAlpha(int newNumAlpha)
public int getNumAlpha()
AlphaSource
getNumAlpha
in interface AlphaSource
public double getAlphaCenter()
public double getAlphaSpan()
protected IData processData(IData inputData)
processData
in class DataProcessor
inputData
- the Data for processingpublic double getAlpha(int i)
getAlpha
in interface AlphaSource