IDataSource
, IntegratorListener
public class MeterMBAR extends java.lang.Object implements IDataSource, IntegratorListener
Modifier and Type | Field | Description |
---|---|---|
protected double[][] |
alpha |
|
protected double[] |
alphaCenter |
|
protected double[] |
alphaSpan |
|
protected long |
callCount |
|
protected DataDoubleArray |
data |
|
protected DataDoubleArray.DataInfoDoubleArray |
dataInfo |
|
protected double[] |
ei |
|
protected int |
index |
|
protected DataSourceScalar[] |
meterPE |
|
protected int |
nAlpha |
|
protected double[] |
sumCheck |
|
protected DataTag |
tag |
|
protected double |
temperature |
Constructor | Description |
---|---|
MeterMBAR(DataSourceScalar[] meterPE,
double temperature) |
Modifier and Type | Method | Description |
---|---|---|
double[] |
getAlpha(int iAlpha) |
|
double[] |
getAlphaCenter() |
|
double[] |
getAlphaSpan() |
|
int |
getBoxIndex() |
|
long |
getCallCount() |
|
IData |
getData() |
|
IDataInfo |
getDataInfo() |
|
int |
getNumAlpha() |
|
DataTag |
getTag() |
|
void |
integratorInitialized(IntegratorEvent e) |
Invoked when integration begins.
|
void |
integratorStepFinished(IntegratorEvent e) |
Invoked at the end of each integrator step.
|
void |
integratorStepStarted(IntegratorEvent e) |
Invoked at the beginning of each integrator step.
|
void |
reset() |
|
void |
setAlpha(double[] aCenter,
double[] aSpan) |
sets the range of parameter values used for Bennets method.
|
void |
setBoxIndex(int newIndex) |
|
void |
setNumAlpha(int newNumAlpha) |
protected double[] alphaSpan
protected double[] alphaCenter
protected int nAlpha
protected double[][] alpha
protected final DataTag tag
protected DataDoubleArray data
protected double[] sumCheck
protected DataDoubleArray.DataInfoDoubleArray dataInfo
protected final DataSourceScalar[] meterPE
protected double temperature
protected final double[] ei
protected int index
protected long callCount
public MeterMBAR(DataSourceScalar[] meterPE, double temperature)
public int getNumAlpha()
public double[] getAlphaCenter()
public double[] getAlphaSpan()
public double[] getAlpha(int iAlpha)
public long getCallCount()
public void reset()
public void setNumAlpha(int newNumAlpha)
public void setAlpha(double[] aCenter, double[] aSpan)
aCenter
- geometric mean of all valuesaSpan
- natural log of ratio of max value to aCenterpublic IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public void setBoxIndex(int newIndex)
public int getBoxIndex()
public void integratorStepFinished(IntegratorEvent e)
IntegratorListener
integratorStepFinished
in interface IntegratorListener
public void integratorInitialized(IntegratorEvent e)
IntegratorListener
integratorInitialized
in interface IntegratorListener
public void integratorStepStarted(IntegratorEvent e)
IntegratorListener
integratorStepStarted
in interface IntegratorListener